You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
2.0 KiB
Dart
62 lines
2.0 KiB
Dart
import 'package:car_customer_app/config/routes.dart';
|
|
import 'package:car_customer_app/utils/navigator.dart';
|
|
import 'package:car_customer_app/utils/utils.dart';
|
|
import 'package:car_customer_app/widgets/app_bar.dart';
|
|
import 'package:car_customer_app/widgets/show_fill_button.dart';
|
|
import 'package:car_customer_app/extensions/string_extensions.dart';
|
|
import 'package:car_customer_app/extensions/int_extensions.dart';
|
|
import 'package:car_customer_app/extensions/widget_extensions.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
class RegisterSelectionPage extends StatelessWidget {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
appBar: appBar(title: "Log In"),
|
|
body: Container(
|
|
width: double.infinity,
|
|
height: double.infinity,
|
|
padding: EdgeInsets.all(40),
|
|
child: Column(
|
|
children: [
|
|
"Welcome Message".toText24(),
|
|
mFlex(1),
|
|
ShowFillButton(
|
|
title: "Log In",
|
|
width: double.infinity,
|
|
onPressed: () {
|
|
navigateWithName(context, AppRoutes.loginWithPassword);
|
|
},
|
|
),
|
|
// 20.height,
|
|
// ShowFillButton(
|
|
// title: "Log In",
|
|
// width: double.infinity,
|
|
// onPressed: () {
|
|
// navigateWithName(context, AppRoutes.loginVerifyAccount);
|
|
// },
|
|
// ),
|
|
20.height,
|
|
ShowFillButton(
|
|
title: "Sign Up",
|
|
width: double.infinity,
|
|
onPressed: () {
|
|
navigateWithName(context, AppRoutes.register);
|
|
},
|
|
),
|
|
20.height,
|
|
ShowFillButton(
|
|
title: "Forget Password",
|
|
width: double.infinity,
|
|
onPressed: () {
|
|
navigateWithName(context, AppRoutes.forgetPassword);
|
|
},
|
|
),
|
|
mFlex(2),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|