|
|
|
@ -131,7 +131,7 @@ class _RegisterSearchPatientPageState extends State<RegisterSearchPatientPage> {
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
AppText(
|
|
|
|
|
"Please enter mobile number or Identification number",
|
|
|
|
|
TranslationBase.of(context).askForIdentification,
|
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
|
fontSize: SizeConfig.textMultiplier * 2.2,
|
|
|
|
|
fontWeight: FontWeight.w800,
|
|
|
|
@ -164,7 +164,7 @@ class _RegisterSearchPatientPageState extends State<RegisterSearchPatientPage> {
|
|
|
|
|
width: MediaQuery.of(context).size.width * 0.28,
|
|
|
|
|
child: AppTextFieldCustom(
|
|
|
|
|
height: screenSize.height * 0.075,
|
|
|
|
|
hintText: "Code",
|
|
|
|
|
hintText: TranslationBase.of(context).codeNo,
|
|
|
|
|
inputType: TextInputType.phone,
|
|
|
|
|
controller: _phoneCode,
|
|
|
|
|
validationError: phoneError,
|
|
|
|
@ -185,7 +185,7 @@ class _RegisterSearchPatientPageState extends State<RegisterSearchPatientPage> {
|
|
|
|
|
// width: MediaQuery.of(context).size.width*0.7,
|
|
|
|
|
child: AppTextFieldCustom(
|
|
|
|
|
height: screenSize.height * 0.075,
|
|
|
|
|
hintText: "Phone Number",
|
|
|
|
|
hintText: TranslationBase.of(context).phoneNumber,
|
|
|
|
|
inputType: TextInputType.phone,
|
|
|
|
|
controller: _phoneController,
|
|
|
|
|
validationError:
|
|
|
|
@ -202,7 +202,7 @@ class _RegisterSearchPatientPageState extends State<RegisterSearchPatientPage> {
|
|
|
|
|
),
|
|
|
|
|
AppTextFieldCustom(
|
|
|
|
|
height: screenSize.height * 0.075,
|
|
|
|
|
hintText: "ID Number",
|
|
|
|
|
hintText: TranslationBase.of(context).iDNumber,
|
|
|
|
|
inputType: TextInputType.phone,
|
|
|
|
|
controller: _idController,
|
|
|
|
|
validationError: _idController.text.isEmpty && isSubmitted
|
|
|
|
@ -213,7 +213,7 @@ class _RegisterSearchPatientPageState extends State<RegisterSearchPatientPage> {
|
|
|
|
|
height: 12,
|
|
|
|
|
),
|
|
|
|
|
AppText(
|
|
|
|
|
"Calender",
|
|
|
|
|
TranslationBase.of(context).calender,
|
|
|
|
|
fontSize: SizeConfig.textMultiplier * 1.8,
|
|
|
|
|
fontWeight: FontWeight.w800,
|
|
|
|
|
),
|
|
|
|
@ -224,7 +224,7 @@ class _RegisterSearchPatientPageState extends State<RegisterSearchPatientPage> {
|
|
|
|
|
children: [
|
|
|
|
|
Expanded(
|
|
|
|
|
child: RadioListTile<CalenderType>(
|
|
|
|
|
title: AppText("Gregorian"),
|
|
|
|
|
title: AppText(TranslationBase.of(context).gregorian),
|
|
|
|
|
value: CalenderType.Gregorian,
|
|
|
|
|
groupValue: calenderType,
|
|
|
|
|
onChanged: (CalenderType value) {
|
|
|
|
@ -236,7 +236,7 @@ class _RegisterSearchPatientPageState extends State<RegisterSearchPatientPage> {
|
|
|
|
|
),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: RadioListTile<CalenderType>(
|
|
|
|
|
title: AppText("Hijri"),
|
|
|
|
|
title: AppText(TranslationBase.of(context).hijri),
|
|
|
|
|
value: CalenderType.Hijri,
|
|
|
|
|
groupValue: calenderType,
|
|
|
|
|
onChanged: (CalenderType value) {
|
|
|
|
@ -253,7 +253,7 @@ class _RegisterSearchPatientPageState extends State<RegisterSearchPatientPage> {
|
|
|
|
|
),
|
|
|
|
|
AppTextFieldCustom(
|
|
|
|
|
height: screenSize.height * 0.075,
|
|
|
|
|
hintText: "Birthdate",
|
|
|
|
|
hintText:TranslationBase.of(context).birthdate,
|
|
|
|
|
dropDownText: getBirthdate(),
|
|
|
|
|
enabled: false,
|
|
|
|
|
isTextFieldHasSuffix: true,
|
|
|
|
|