diff --git a/lib/screens/patients/profile/UCAF/ucaf_pager_screen.dart b/lib/screens/patients/profile/UCAF/ucaf_pager_screen.dart index 8c38ece7..5608c461 100644 --- a/lib/screens/patients/profile/UCAF/ucaf_pager_screen.dart +++ b/lib/screens/patients/profile/UCAF/ucaf_pager_screen.dart @@ -9,6 +9,7 @@ import 'package:doctor_app_flutter/widgets/shared/app_scaffold_widget.dart'; import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart'; import 'package:doctor_app_flutter/widgets/shared/buttons/app_buttons_widget.dart'; import 'package:flutter/material.dart'; +import 'package:hexcolor/hexcolor.dart'; import '../../../../routes.dart'; import 'UCAF-detail-screen.dart'; @@ -195,7 +196,7 @@ class _UCAFPagerScreenState extends State vPadding: 8, hPadding: 8, borderColor: Color(0xFFB8382B), - color: Color(0xFFB8382B), + color: HexColor("#D02127"), fontColor: Colors.white, fontSize: 2.0, onPressed: () { diff --git a/lib/screens/patients/register_patient/RegisterConfirmationPatientPage.dart b/lib/screens/patients/register_patient/RegisterConfirmationPatientPage.dart index be79162b..6443e972 100644 --- a/lib/screens/patients/register_patient/RegisterConfirmationPatientPage.dart +++ b/lib/screens/patients/register_patient/RegisterConfirmationPatientPage.dart @@ -29,6 +29,7 @@ import 'package:doctor_app_flutter/widgets/shared/speech-text-popup.dart'; import 'package:doctor_app_flutter/widgets/shared/text_fields/app-textfield-custom.dart'; import 'package:doctor_app_flutter/widgets/shared/text_fields/text_fields_utils.dart'; import 'package:flutter/material.dart'; +import 'package:hexcolor/hexcolor.dart'; import 'package:hijri/hijri_calendar.dart'; import 'package:intl/intl.dart'; import 'package:permission_handler/permission_handler.dart'; @@ -134,7 +135,8 @@ class _RegisterConfirmationPatientPageState CustomEditableText( controller: firstNameAr, isSubmitted: isSubmitted, - hint: TranslationBase.of(context).firstNameInAr), + hint: + TranslationBase.of(context).firstNameInAr), SizedBox( height: 4, ), @@ -142,7 +144,8 @@ class _RegisterConfirmationPatientPageState controller: middleNameAr, isEditable: middleNameN.text.isEmpty, isSubmitted: isSubmitted, - hint: TranslationBase.of(context).middleNameInAr), + hint: + TranslationBase.of(context).middleNameInAr), SizedBox( height: 4, ), @@ -381,7 +384,7 @@ class _RegisterConfirmationPatientPageState vPadding: 12, hPadding: 8, borderColor: Color(0xFFB8382B), - color: Color(0xFFB8382B), + color: HexColor("#D02127"), fontColor: Colors.white, fontSize: 2.0, onPressed: () async { diff --git a/lib/screens/patients/register_patient/RegisterPatientPage.dart b/lib/screens/patients/register_patient/RegisterPatientPage.dart index 28e44c6a..2a2e7ed5 100644 --- a/lib/screens/patients/register_patient/RegisterPatientPage.dart +++ b/lib/screens/patients/register_patient/RegisterPatientPage.dart @@ -8,6 +8,7 @@ import 'package:doctor_app_flutter/util/translations_delegate_base.dart'; import 'package:doctor_app_flutter/widgets/shared/app_scaffold_widget.dart'; import 'package:doctor_app_flutter/widgets/shared/buttons/app_buttons_widget.dart'; import 'package:flutter/material.dart'; +import 'package:hexcolor/hexcolor.dart'; import 'RegisterSearchPatientPage.dart'; @@ -202,7 +203,7 @@ class _RegisterPatientPageState extends State vPadding: 12, hPadding: 8, borderColor: Color(0xFFB8382B), - color: Color(0xFFB8382B), + color: HexColor("#D02127"), fontColor: Colors.white, fontSize: 2.0, onPressed: () { diff --git a/lib/screens/patients/register_patient/RegisterSearchPatientPage.dart b/lib/screens/patients/register_patient/RegisterSearchPatientPage.dart index 6b10bfd1..ab14f601 100644 --- a/lib/screens/patients/register_patient/RegisterSearchPatientPage.dart +++ b/lib/screens/patients/register_patient/RegisterSearchPatientPage.dart @@ -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 { List countryList; - dynamic country ; + dynamic country; bool isSubmitted = false; @@ -226,7 +227,8 @@ class _RegisterSearchPatientPageState extends State { children: [ Expanded( child: RadioListTile( - 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 { ), 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 { vPadding: 12, hPadding: 8, borderColor: Color(0xFFB8382B), - color: Color(0xFFB8382B), + color: HexColor("#D02127"), fontColor: Colors.white, fontSize: 2.0, onPressed: () async { diff --git a/lib/screens/patients/register_patient/VerifyMethodPage.dart b/lib/screens/patients/register_patient/VerifyMethodPage.dart index 2759c326..9636f2ca 100644 --- a/lib/screens/patients/register_patient/VerifyMethodPage.dart +++ b/lib/screens/patients/register_patient/VerifyMethodPage.dart @@ -458,7 +458,7 @@ class _ActivationPageState extends State { vPadding: 12, hPadding: 8, borderColor: Color(0xFFB8382B), - color: Color(0xFFB8382B), + color: HexColor("#D02127"), fontColor: Colors.white, fontSize: 2.0, onPressed: () async {