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.
92 lines
3.1 KiB
Dart
92 lines
3.1 KiB
Dart
import 'package:car_customer_app/config/constants.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/button/show_image_button.dart';
|
|
import 'package:car_customer_app/widgets/dialog/dialogs.dart';
|
|
import 'package:car_customer_app/widgets/dialog/message_dialog.dart';
|
|
import 'package:car_customer_app/extensions/int_extensions.dart';
|
|
import 'package:car_customer_app/extensions/string_extensions.dart';
|
|
import 'package:car_customer_app/extensions/widget_extensions.dart';
|
|
import 'package:car_customer_app/widgets/txt_field.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
class LoginVerificationPage 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: [
|
|
"Verify Account".toText24(),
|
|
|
|
mFlex(2),
|
|
Row(
|
|
children: [
|
|
Expanded(
|
|
child: ShowImageButton(
|
|
onClick: () {
|
|
showMDialog(
|
|
context,
|
|
child: MessageDialog(
|
|
title: "Account Verified",
|
|
onClick: () {
|
|
pop(context);
|
|
navigateWithName(context, AppRoutes.dashboard);
|
|
},
|
|
),
|
|
);
|
|
},
|
|
title: 'Finger Print',
|
|
icon: icons + "ic_fingerprint.png",
|
|
),
|
|
),
|
|
20.width,
|
|
Expanded(
|
|
child: ShowImageButton(
|
|
onClick: () {
|
|
navigateWithName(context, AppRoutes.dashboard);
|
|
},
|
|
title: 'Face Recognition',
|
|
icon: icons + "ic_face_id.png",
|
|
),
|
|
),
|
|
],
|
|
),
|
|
40.height,
|
|
Row(
|
|
children: [
|
|
Expanded(
|
|
child: ShowImageButton(
|
|
onClick: () {
|
|
navigateWithName(context, AppRoutes.dashboard);
|
|
},
|
|
title: 'With SMS',
|
|
icon: icons + "ic_sms.png",
|
|
),
|
|
),
|
|
20.width,
|
|
Expanded(
|
|
child: ShowImageButton(
|
|
onClick: () {
|
|
navigateWithName(context, AppRoutes.dashboard);
|
|
},
|
|
title: 'With Whatsapp',
|
|
icon: icons + "ic_whatsapp.png",
|
|
),
|
|
),
|
|
],
|
|
),
|
|
mFlex(10),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|