CustomTextFormField constructor
const
CustomTextFormField({
- Key? key,
- TextEditingCController? controller,
- bool readonly = false,
- bool darkMode = false,
- bool obscureText = false,
- String? initValue,
- String? label,
- void onSubmit()?,
- bool scannable = false,
- IconData? suffixIcon,
- void onSuffixIconTab()?,
- void onSuffixIconLogTab()?,
- TextInputType? keyboardType,
- void onSaved(
- String? value
- bool required = false,
- String? validator(
- String value
- bool multiLine = false,
- dynamic onChanged(
- String value
Implementation
const CustomTextFormField({
super.key,
this.controller,
this.readonly = false,
this.darkMode = false,
this.obscureText = false,
this.initValue,
this.label,
this.onSubmit,
this.scannable = false,
this.suffixIcon,
this.onSuffixIconTab,
this.onSuffixIconLogTab,
this.keyboardType,
this.onSaved,
this.required = false,
this.validator,
this.multiLine = false,
this.onChanged,
});