FitTextInput.multiline constructor
const
FitTextInput.multiline({
- Key? key,
- TextEditingController? controller,
- bool autofocus = false,
- int maxLength = 255,
- TextInputAction? inputAction,
- required String label,
- bool markAsRequired = false,
- String hint = "",
- bool hideValue = false,
- Widget? suffix,
- FocusNode? focusNode,
- AutovalidateMode validationMode = AutovalidateMode.disabled,
- TextInputType keyboardType = TextInputType.multiline,
- TextCapitalization capitalization = TextCapitalization.sentences,
- List<
TextInputFormatter> ? formatters, - String? validation()?,
- dynamic onFieldSubmitted()?,
- dynamic onChange()?,
- EdgeInsets? margin,
- EdgeInsets? padding,
- int? maxLines,
- int? minLines,
- bool expand = true,
- double? width,
- double? height = 200,
- bool? readonly,
Creates a new FitTextInput, with presets to use allow multiple lines.
Implementation
const FitTextInput.multiline({
super.key,
this.controller,
this.autofocus = false,
this.maxLength = 255,
this.inputAction,
required this.label,
this.markAsRequired = false,
this.hint = "",
this.hideValue = false,
this.suffix,
this.focusNode,
this.validationMode = AutovalidateMode.disabled,
this.keyboardType = TextInputType.multiline,
this.capitalization = TextCapitalization.sentences,
this.formatters,
this.validation,
this.onFieldSubmitted,
this.onChange,
this.margin,
this.padding,
this.maxLines,
this.minLines,
this.expand = true,
this.width,
this.height = 200,
this.readonly,
});