This commit is contained in:
Hamza-Ayed
2023-12-14 23:09:46 +03:00
parent 2ff52420ce
commit c2fd1187d0
19 changed files with 523 additions and 195 deletions

View File

@@ -9,7 +9,10 @@ class MyScafolld extends StatelessWidget {
super.key,
required this.title,
required this.body,
this.action = const Icon(Icons.clear),
this.action = const Icon(
Icons.clear,
color: AppColor.secondaryColor,
),
required this.isleading,
});

View File

@@ -41,7 +41,7 @@ class MyTextForm extends StatelessWidget {
hintText: hint.tr,
),
validator: (value) {
if (value!.isEmpty || value.length != 10) {
if (value!.isEmpty) {
return 'Please enter $label.'.tr;
}
return null;