DefaultFormField constructor

const DefaultFormField({
  1. Key? key,
  2. required TextEditingController textEditingController,
  3. required TextInputType textInputType,
  4. required String hint,
  5. required String label,
  6. String? validator(
    1. String?
    )?,
  7. bool? addDefaultBorder,
  8. BoxConstraints? constraints,
  9. int? numberOfLines,
  10. bool? disabled,
  11. Color? labelColor,
  12. IconData? prefixIcon,
  13. bool? obscureText,
  14. double? height,
  15. double? width,
  16. dynamic onChanged(
    1. String?
    )?,
})

Implementation

const DefaultFormField({
  Key? key,
  required this.textEditingController,
  required this.textInputType,
  required this.hint,
  required this.label,
  this.validator,
  this.addDefaultBorder,
  this.constraints,
  this.numberOfLines,
  this.disabled,
  this.labelColor,
  this.prefixIcon,
  this.obscureText,
  this.height,
  this.width,
  this.onChanged,
}) : super(key: key);