FlutterFormInputPlainText constructor
- {required FlutterFormInputController<
String> controller, - required String validationMessage,
- Key? key,
- FocusNode? focusNode,
- Widget? label,
- InputDecoration? decoration,
- TextAlignVertical? textAlignVertical,
- bool expands = false,
- int? maxLines = 1,
- EdgeInsets? scrollPadding,
- int? maxLength,
- TextInputType? keyboardType,
- String? validator( )?,
- bool enabled = true,
- TextStyle? style,
- TextCapitalization textCapitalization = TextCapitalization.none}
Creates a FlutterFormInputPlainText.
The controller parameter is required.
The key
, focusNode, label, decoration, textAlignVertical,
expands, maxLines, scrollPadding, maxLength, keyboardType,
enabled, style, and textCapitalization parameters are optional.
Implementation
const FlutterFormInputPlainText({
required super.controller,
required this.validationMessage,
super.key,
super.focusNode,
super.label,
this.decoration,
this.textAlignVertical,
this.expands = false,
this.maxLines = 1,
this.scrollPadding,
this.maxLength,
this.keyboardType,
this.validator,
this.enabled = true,
this.style,
this.textCapitalization = TextCapitalization.none,
});