diff --git a/lib/routes.dart b/lib/routes.dart index fe88c286..ae068a85 100644 --- a/lib/routes.dart +++ b/lib/routes.dart @@ -10,11 +10,13 @@ import './screens/my_schedule_screen.dart'; import './screens/patients/patient_search_screen.dart'; import './screens/patients/patients_list_screen.dart'; import './screens/auth/change_password_screen.dart'; +import './screens/auth/verify_account_screen.dart'; +const String INIT_ROUTE = LOGIN; const String HOME = '/'; const String LOGIN = 'login'; const String CHANGE_PASSWORD = 'change-password'; -const String INIT_ROUTE = LOGIN; +const String VERIFY_ACCOUNT = 'verify-account'; const String MY_SCHEDULE = 'my-schedule'; const String QR_READER = 'qr-reader'; const String PATIENT_SEARCH = 'patients/patient-search'; @@ -35,5 +37,6 @@ var routes = { DOCTOR_REPLY: (_) => DoctorReplyScreen(), MEDICINE_SEARCH: (_) => MedicineSearchScreen(), SETTINGS: (_) => SettingsScreen(), - CHANGE_PASSWORD: (_) => ChangePasswordScreen() + CHANGE_PASSWORD: (_) => ChangePasswordScreen(), + VERIFY_ACCOUNT: (_) => VerifyAccountScreen(), }; diff --git a/lib/screens/auth/verify_account_screen.dart b/lib/screens/auth/verify_account_screen.dart new file mode 100644 index 00000000..77327292 --- /dev/null +++ b/lib/screens/auth/verify_account_screen.dart @@ -0,0 +1,24 @@ +import 'package:doctor_app_flutter/lookups/auth_lookup.dart'; +import 'package:doctor_app_flutter/widgets/auth/auth_header.dart'; +import 'package:flutter/material.dart'; + +class VerifyAccountScreen extends StatelessWidget { + @override + Widget build(BuildContext context) { + // return Container()]; + return Scaffold( + backgroundColor: Colors.white, + body: SingleChildScrollView( + child: Container( + margin: EdgeInsetsDirectional.fromSTEB(30, 0, 0, 0), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + AuthHeader(loginType.verifyPassword), + // ChangePassword(), + ], + ), + ), + )); + } +} diff --git a/pubspec.lock b/pubspec.lock index 90ac402c..555d8260 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -91,14 +91,14 @@ packages: name: build_runner url: "https://pub.dartlang.org" source: hosted - version: "1.8.0" + version: "1.8.1" build_runner_core: dependency: transitive description: name: build_runner_core url: "https://pub.dartlang.org" source: hosted - version: "4.5.3" + version: "5.0.0" build_web_compilers: dependency: "direct dev" description: