|
|
|
|
@ -10,6 +10,7 @@ import 'package:hmg_patient_app_new/core/utils/utils.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/extensions/string_extensions.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/extensions/widget_extensions.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/features/authentication/authentication_view_model.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/features/authentication/widgets/otp_verification_screen.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/generated/locale_keys.g.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/theme/colors.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/widgets/appbar/app_bar_widget.dart';
|
|
|
|
|
@ -17,7 +18,6 @@ import 'package:hmg_patient_app_new/widgets/bottomsheet/generic_bottom_sheet.dar
|
|
|
|
|
import 'package:hmg_patient_app_new/widgets/buttons/custom_button.dart' show CustomButton;
|
|
|
|
|
import 'package:hmg_patient_app_new/widgets/dropdown/country_dropdown_widget.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/widgets/input_widget.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/widgets/otp/otp.dart';
|
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
|
|
|
|
|
|
class RegisterNew extends StatefulWidget {
|
|
|
|
|
@ -223,7 +223,13 @@ class _RegisterNew extends State<RegisterNew> {
|
|
|
|
|
child: CustomButton(
|
|
|
|
|
text: LocaleKeys.sendOTPSMS.tr(),
|
|
|
|
|
onPressed: () {
|
|
|
|
|
Navigator.of(context).push(MaterialPageRoute(builder: (BuildContext context) => OTPVerificationPage(phoneNumber: '12234567')));
|
|
|
|
|
Navigator.of(context).push(MaterialPageRoute(
|
|
|
|
|
builder: (BuildContext context) => OTPVerificationScreen(
|
|
|
|
|
phoneNumber: '504278212',
|
|
|
|
|
checkActivationCode: (int code) {},
|
|
|
|
|
onResendOTPPressed: (String phone) {},
|
|
|
|
|
),
|
|
|
|
|
));
|
|
|
|
|
|
|
|
|
|
// if (mobileNo.isEmpty) {
|
|
|
|
|
// context.showBottomSheet(
|
|
|
|
|
|