JuiFlatInput2 constructor
JuiFlatInput2({
- Key? posKey,
- Key? key,
- Key? textFieldKey,
- String? hintText,
- TextEditingController? controller,
- Color? color,
- Color inputColor = const Color(0xFF213A62),
- Color? disabledColor,
- Color? borderColor,
- Color? disabledBorderColor = const Color(0xFFEEEEEE),
- Color? errorColor = JuiColors.error,
- Color? hintColor,
- Color fillColor = const Color(0x11333333),
- Color? buttonColor,
- bool? disabled,
- FormFieldValidator<
String> ? validator, - TextInputType? keyboardType,
- int? maxLength,
- MaxLengthEnforcement? maxLengthEnforcement,
- List<
TextInputFormatter> ? inputFormatters, - bool readOnly = false,
- String? label,
- Widget? iconButton,
- dynamic onChanged(
- String? value
- FocusNode? focusNode,
- bool isPassword = false,
- String? initialValue,
- Iterable<
String> ? autofillHints, - TextInputAction? textInputAction,
- ValueChanged<
String> ? onFieldSubmitted, - bool? isLoading,
- bool isDarkBackground = false,
- dynamic onTap()?,
- bool isLabelSmall = false,
- AutovalidateMode? autovalidateMode,
- bool isFontBigWeight = false,
Implementation
JuiFlatInput2({
this.posKey,
Key? key,
this.textFieldKey,
this.hintText,
this.controller,
this.color,
this.inputColor = const Color(0xFF213A62),
this.disabledColor,
this.borderColor,
this.disabledBorderColor = const Color(0xFFEEEEEE),
this.errorColor = JuiColors.error,
this.hintColor,
this.fillColor = const Color(0x11333333),
this.buttonColor,
this.disabled,
this.validator,
this.keyboardType,
this.maxLength,
this.maxLengthEnforcement,
this.inputFormatters,
this.readOnly = false,
this.label,
this.iconButton,
this.onChanged,
this.focusNode,
this.isPassword = false,
this.initialValue,
this.autofillHints,
this.textInputAction,
this.onFieldSubmitted,
this.isLoading,
this.isDarkBackground = false,
this.onTap,
this.isLabelSmall = false,
this.autovalidateMode,
this.isFontBigWeight = false,
}) : assert(isDarkBackground == false),
super(key: key);