|
|
|
@ -20,6 +20,7 @@ import 'package:doctor_app_flutter/widgets/shared/loader/gif_loader_dialog_utils
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/text_fields/app-textfield-custom.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/text_fields/country_textfield_custom.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:hexcolor/hexcolor.dart';
|
|
|
|
|
import 'package:hijri/hijri_calendar.dart';
|
|
|
|
|
import 'package:hijri_picker/hijri_picker.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/core/enum/CalenderType.dart';
|
|
|
|
@ -44,7 +45,7 @@ class _RegisterSearchPatientPageState extends State<RegisterSearchPatientPage> {
|
|
|
|
|
|
|
|
|
|
List<dynamic> countryList;
|
|
|
|
|
|
|
|
|
|
dynamic country ;
|
|
|
|
|
dynamic country;
|
|
|
|
|
|
|
|
|
|
bool isSubmitted = false;
|
|
|
|
|
|
|
|
|
@ -226,7 +227,8 @@ class _RegisterSearchPatientPageState extends State<RegisterSearchPatientPage> {
|
|
|
|
|
children: [
|
|
|
|
|
Expanded(
|
|
|
|
|
child: RadioListTile<CalenderType>(
|
|
|
|
|
title: AppText(TranslationBase.of(context).gregorian),
|
|
|
|
|
title:
|
|
|
|
|
AppText(TranslationBase.of(context).gregorian),
|
|
|
|
|
value: CalenderType.Gregorian,
|
|
|
|
|
groupValue: calenderType,
|
|
|
|
|
onChanged: (CalenderType value) {
|
|
|
|
@ -255,7 +257,7 @@ class _RegisterSearchPatientPageState extends State<RegisterSearchPatientPage> {
|
|
|
|
|
),
|
|
|
|
|
AppTextFieldCustom(
|
|
|
|
|
height: screenSize.height * 0.075,
|
|
|
|
|
hintText:TranslationBase.of(context).birthdate,
|
|
|
|
|
hintText: TranslationBase.of(context).birthdate,
|
|
|
|
|
dropDownText: getBirthdate(),
|
|
|
|
|
enabled: false,
|
|
|
|
|
isTextFieldHasSuffix: true,
|
|
|
|
@ -342,7 +344,7 @@ class _RegisterSearchPatientPageState extends State<RegisterSearchPatientPage> {
|
|
|
|
|
vPadding: 12,
|
|
|
|
|
hPadding: 8,
|
|
|
|
|
borderColor: Color(0xFFB8382B),
|
|
|
|
|
color: Color(0xFFB8382B),
|
|
|
|
|
color: HexColor("#D02127"),
|
|
|
|
|
fontColor: Colors.white,
|
|
|
|
|
fontSize: 2.0,
|
|
|
|
|
onPressed: () async {
|
|
|
|
|