JuiFlatInput2.secondary constructor
JuiFlatInput2.secondary({
- Key? key,
- Key? textFieldKey,
- String? hintText,
- TextEditingController? controller,
- Color? color = JuiColors.white,
- Color inputColor = JuiColors.white,
- Color? disabledColor = const Color(0xff9A9B9E),
- Color? borderColor = const Color.fromRGBO(255, 255, 255, 0.7),
- Color? disabledBorderColor,
- Color? errorColor,
- Color? hintColor,
- Color fillColor = const Color(0x00eeeeee),
- Color? buttonColor,
- bool? disabled,
- FormFieldValidator<
String> ? validator, - TextInputType? keyboardType,
- int? maxLength,
- 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 = true,
- dynamic onTap()?,
- bool isLabelSmall = false,
- bool isFontBigWeight = false,
- MaxLengthEnforcement? maxLengthEnforcement,
- AutovalidateMode? autovalidateMode,
Implementation
JuiFlatInput2.secondary({
Key? key,
this.textFieldKey,
this.hintText,
this.controller,
this.color = JuiColors.white,
this.inputColor = JuiColors.white,
this.disabledColor = const Color(0xff9A9B9E),
this.borderColor = const Color.fromRGBO(255, 255, 255, 0.7),
this.disabledBorderColor,
this.errorColor,
this.hintColor,
this.fillColor = const Color(0x00eeeeee),
this.buttonColor,
this.disabled,
this.validator,
this.keyboardType,
this.maxLength,
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 = true,
this.onTap,
this.isLabelSmall = false,
this.isFontBigWeight = false,
this.maxLengthEnforcement,
this.autovalidateMode,
}) : assert(isDarkBackground == true),
super(key: key);