check phone impl
This commit is contained in:
@@ -11,6 +11,7 @@ class AppTextFormField extends StatelessWidget {
|
||||
this.suffixIcon,
|
||||
this.keyboardType,
|
||||
this.onChanged,
|
||||
this.validator,
|
||||
});
|
||||
|
||||
final String? hintText;
|
||||
@@ -21,6 +22,7 @@ class AppTextFormField extends StatelessWidget {
|
||||
final Widget? suffixIcon;
|
||||
final TextInputType? keyboardType;
|
||||
final ValueChanged<String>? onChanged;
|
||||
final String? Function(String?)? validator;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -39,6 +41,7 @@ class AppTextFormField extends StatelessWidget {
|
||||
color: AppColor.textPrimary,
|
||||
fontWeight: FontWeight.w500,
|
||||
),
|
||||
validator: validator,
|
||||
decoration: InputDecoration(
|
||||
hintText: hintText,
|
||||
prefixIcon: prefixIcon,
|
||||
|
||||
Reference in New Issue
Block a user