CustomFieldBox constructor
const
CustomFieldBox({
- Key? key,
- String? label,
- String? inputValue,
- dynamic onChanged()?,
- String? errorText,
- String? validator()?,
- Widget? suffixIcon,
- Widget? prefixIcon,
- String? initialValue,
- TextInputType? keyboardType,
- Iterable<
String> ? autofillHints, - List<
TextInputFormatter> ? inputFormatters, - bool obscureText = false,
- int maxLines = 1,
- TextEditingController? controller,
- bool readOnly = false,
- void onTap()?,
- AutovalidateMode? autovalidateMode,
- TextCapitalization textCapitalization = TextCapitalization.none,
Implementation
const CustomFieldBox({
Key? key,
this.label,
this.inputValue,
this.onChanged,
this.errorText,
this.validator,
this.suffixIcon,
this.prefixIcon,
this.initialValue,
this.keyboardType,
this.autofillHints,
this.inputFormatters,
this.obscureText = false,
this.maxLines = 1,
this.controller,
this.readOnly = false,
this.onTap,
this.autovalidateMode,
this.textCapitalization = TextCapitalization.none,
}) : super(key: key);