DefaultFormField constructor

const DefaultFormField({
  1. Key? key,
  2. TextEditingController? controller,
  3. TextInputType? type,
  4. dynamic suffixPressd()?,
  5. dynamic taped()?,
  6. String? validate(
    1. String?
    )?,
  7. required bool isPassword,
  8. String? submit(
    1. String?
    )?,
  9. String? change(
    1. String?
    )?,
  10. IconData? suffixIcon,
  11. String? hintText,
  12. String? labelText,
  13. IconData? prefix,
  14. Color? fillsColor,
  15. Color? enabledBorderColor,
  16. Color? focusedBorderColor,
  17. bool? readOnly,
  18. BorderRadius? border,
  19. int? flex,
  20. Color? colorSuffixIcon,
})

Implementation

const DefaultFormField
({super.key,
 this.controller,
 this.type,
  this.suffixPressd,
  this.taped,
 this.validate,
required this.isPassword,
  this.submit,
 this.change,
  this.suffixIcon,
  this.hintText,
 this.labelText,
  this.prefix,
  this.fillsColor,
  this.enabledBorderColor,
  this.focusedBorderColor,
 this.readOnly,
 this.border,
  this.flex,
 this.colorSuffixIcon,
});