CustomTextFormField constructor

const CustomTextFormField({
  1. Key? key,
  2. required String? validate(
    1. String?
    )?,
  3. required String hintText,
  4. required String labelText,
  5. required TextInputType textInputType,
  6. TextEditingController? controller,
  7. int? maxLines,
  8. int maxLength = 100,
})

Implementation

const CustomTextFormField({
  Key? key,
  required this.validate,
  required this.hintText,
  required this.labelText,
  required this.textInputType,
  this.controller,
  this.maxLines,
  this.maxLength = 100,
}) : super(key: key);