JuiFlatInput2.secondary constructor

JuiFlatInput2.secondary({
  1. Key? key,
  2. Key? textFieldKey,
  3. String? hintText,
  4. TextEditingController? controller,
  5. Color? color = JuiColors.white,
  6. Color inputColor = JuiColors.white,
  7. Color? disabledColor = const Color(0xff9A9B9E),
  8. Color? borderColor = const Color.fromRGBO(255, 255, 255, 0.7),
  9. Color? disabledBorderColor,
  10. Color? errorColor,
  11. Color? hintColor,
  12. Color fillColor = const Color(0x00eeeeee),
  13. Color? buttonColor,
  14. bool? disabled,
  15. FormFieldValidator<String>? validator,
  16. TextInputType? keyboardType,
  17. int? maxLength,
  18. List<TextInputFormatter>? inputFormatters,
  19. bool readOnly = false,
  20. String? label,
  21. Widget? iconButton,
  22. dynamic onChanged(
    1. String? value
    )?,
  23. FocusNode? focusNode,
  24. bool isPassword = false,
  25. String? initialValue,
  26. Iterable<String>? autofillHints,
  27. TextInputAction? textInputAction,
  28. ValueChanged<String>? onFieldSubmitted,
  29. bool? isLoading,
  30. bool isDarkBackground = true,
  31. dynamic onTap()?,
  32. bool isLabelSmall = false,
  33. bool isFontBigWeight = false,
  34. MaxLengthEnforcement? maxLengthEnforcement,
  35. 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);