AppMultiLineTextField constructor
const
AppMultiLineTextField({
- Key? key,
- TextEditingController? controller,
- FocusNode? focusNode,
- String? label,
- String? hint,
- String? helperText,
- String? validator()?,
- void onChanged()?,
- void onSubmitted()?,
- LabelPosition labelPosition = LabelPosition.above,
- TextFieldStyle fieldStyle = TextFieldStyle.outlined,
- int minLines = 3,
- int maxLines = 10,
- int? maxLength,
- bool showCounter = false,
- TextInputType keyboardType = TextInputType.multiline,
- TextInputAction textInputAction = TextInputAction.newline,
- bool enabled = true,
- bool readOnly = false,
- bool isRequired = false,
- double? borderRadius,
- Color? borderColor,
- Color? focusedBorderColor,
- Color? backgroundColor,
- EdgeInsetsGeometry? contentPadding,
- double? labelFontSize,
- double? fontSize,
- double? hintFontSize,
- bool? enableSecurity,
Implementation
const AppMultiLineTextField({
super.key,
this.controller,
this.focusNode,
this.label,
this.hint,
this.helperText,
this.validator,
this.onChanged,
this.onSubmitted,
this.labelPosition = LabelPosition.above,
this.fieldStyle = TextFieldStyle.outlined,
this.minLines = 3,
this.maxLines = 10,
this.maxLength,
this.showCounter = false,
this.keyboardType = TextInputType.multiline,
this.textInputAction = TextInputAction.newline,
this.enabled = true,
this.readOnly = false,
this.isRequired = false,
this.borderRadius,
this.borderColor,
this.focusedBorderColor,
this.backgroundColor,
this.contentPadding,
this.labelFontSize,
this.fontSize,
this.hintFontSize,
this.enableSecurity,
});