AppTextFormField constructor

const AppTextFormField({
  1. Key? key,
  2. bool autoCorrect = true,
  3. AutovalidateMode autovalidateMode = AutovalidateMode.disabled,
  4. TextEditingController? controller,
  5. bool enabled = true,
  6. bool enableSuggestions = true,
  7. bool isDense = false,
  8. String? labelText,
  9. int? maxLines = 1,
  10. int? minLines,
  11. bool obscureText = false,
  12. void onChanged(
    1. String
    )?,
  13. GestureTapCallback? onTap,
  14. Widget? prefixIcon,
  15. bool readOnly = false,
  16. bool? showCursor,
  17. String? validator(
    1. String?
    )?,
})

Implementation

const AppTextFormField({
  super.key,
  this.autoCorrect = true,
  this.autovalidateMode = AutovalidateMode.disabled,
  this.controller,
  this.enabled = true,
  this.enableSuggestions = true,
  this.isDense = false,
  this.labelText,
  this.maxLines = 1,
  this.minLines,
  this.obscureText = false,
  this.onChanged,
  this.onTap,
  this.prefixIcon,
  this.readOnly = false,
  this.showCursor,
  this.validator,
});