AppTextFormField constructor
const
AppTextFormField({
- Key? key,
- bool autoCorrect = true,
- AutovalidateMode autovalidateMode = AutovalidateMode.disabled,
- TextEditingController? controller,
- bool enabled = true,
- bool enableSuggestions = true,
- bool isDense = false,
- String? labelText,
- int? maxLines = 1,
- int? minLines,
- bool obscureText = false,
- void onChanged()?,
- GestureTapCallback? onTap,
- Widget? prefixIcon,
- bool readOnly = false,
- bool? showCursor,
- String? validator()?,
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,
});