MultilineField constructor
const
MultilineField({
- Key? key,
- String? text,
- bool obscureText = false,
- Decoration? decoration,
- Decoration? focusDecoration,
- int? maxLines,
- TextInputAction textInputAction = TextInputAction.done,
- Color? normalColor,
- Color? focusColor,
- ValueChanged<
String> ? onSubmitted, - TextEditingController? controller,
- String? hintText,
- FocusNode? focusNode,
- TextStyle? style,
- TextStyle? hintStyle,
- List<
TextInputFormatter> ? inputFormatters, - VoidCallback? onEditingComplete,
- VoidCallback? cancelCallBack,
- FocusScopeNode? scopeNode,
- int? maxLength,
- String? exceedLimitTip,
- TextInputType keyboardType = TextInputType.text,
- bool enable = true,
- Color? cursorColor,
- double height = 200,
- EdgeInsetsGeometry? padding,
- bool? readOnly = false,
- ValueChanged<
String> ? onChanged, - TextAlign textAlign = TextAlign.start,
Implementation
const MultilineField({
Key? key,
this.text,
this.obscureText = false,
this.decoration,
this.focusDecoration,
this.maxLines,
this.textInputAction = TextInputAction.done,
this.normalColor,
this.focusColor,
this.onSubmitted,
this.controller,
this.hintText,
this.focusNode,
this.style,
this.hintStyle,
this.inputFormatters,
this.onEditingComplete,
this.cancelCallBack,
this.scopeNode,
this.maxLength,
this.exceedLimitTip,
this.keyboardType = TextInputType.text,
this.enable = true,
this.cursorColor,
this.height = 200,
this.padding,
this.readOnly = false,
this.onChanged,
this.textAlign = TextAlign.start,
}) : super(key: key);