JuiTextArea constructor
const
JuiTextArea({
- Key? key,
- GlobalKey<
State< ? inputKey,StatefulWidget> > - String? label,
- String? hintText,
- TextStyle? style,
- Color? colorText,
- TextInputType? keyboardType,
- Color? labelColor,
- Color cursorColor = JuiColors.tertiaryColor,
- Color backgroundColor = const Color(0xFFF8F8F8),
- Color? errorColor,
- bool disabled = false,
- Color disabledColor = const Color(0xffececec),
- Color disabledColorText = const Color(0xff999999),
- int maxLines = 4,
- TextInputAction? textInputAction,
- String? initialValue,
- TextEditingController? controller,
- dynamic onFieldSubmitted()?,
- List<
TextInputFormatter> ? inputFormatters, - String? validator()?,
- Widget? suffixIcon,
Implementation
const JuiTextArea({
Key? key,
this.inputKey,
this.label,
this.hintText,
this.style,
this.colorText,
this.keyboardType,
this.labelColor,
this.cursorColor = JuiColors.tertiaryColor,
this.backgroundColor = const Color(0xFFF8F8F8),
this.errorColor,
this.disabled = false,
this.disabledColor = const Color(0xffececec),
this.disabledColorText = const Color(0xff999999),
this.maxLines = 4,
this.textInputAction,
this.initialValue,
this.controller,
this.onFieldSubmitted,
this.inputFormatters,
this.validator,
this.suffixIcon,
}) : assert(style != null),
super(key: key);