ZeroTextFieldMultiline.fill constructor
ZeroTextFieldMultiline.fill({
- Key? key,
- String? hintText,
- String? labelText,
- ZeroTextfieldSize? textfielSizeType,
- TextEditingController? controller,
- FocusNode? focusNode,
- TextInputType? inputType,
- dynamic onChanged()?,
- dynamic onEditingComplete()?,
- String? validator()?,
- AutovalidateMode? autovalidateMode,
- Widget? suffix,
- InputDecoration? decoration,
- String? errorText,
- String? helperText,
- bool? enabled,
- int? maxLines,
- int? minLines,
This already uses UnderlineInputBorder under the hood with fillColor set as per defined in the standard ZeroOne design guideline.
Implementation
factory ZeroTextFieldMultiline.fill({
Key? key,
String? hintText,
String? labelText,
ZeroTextfieldSize? textfielSizeType,
TextEditingController? controller,
FocusNode? focusNode,
TextInputType? inputType,
Function(String)? onChanged,
Function()? onEditingComplete,
String? Function(String?)? validator,
AutovalidateMode? autovalidateMode,
Widget? suffix,
InputDecoration? decoration,
String? errorText,
String? helperText,
bool? enabled,
int? maxLines,
int? minLines,
}) =>
ZeroTextFieldMultiline(
key: key,
labelText: labelText,
hintText: hintText,
controller: controller,
focusNode: focusNode,
onChanged: onChanged,
onEditingComplete: onEditingComplete,
validator: validator,
textfieldSize: textfielSizeType ?? ZeroTextfieldSize.small,
autovalidateMode: autovalidateMode,
inputDecorationType: InputDecorationType.fill,
suffix: suffix,
decoration: decoration,
helperText: helperText,
errorText: errorText,
enabled: enabled,
minLines: minLines,
maxLines: maxLines,
);