NikuInputDecoration constructor

NikuInputDecoration({
  1. Widget? icon,
  2. Widget? label,
  3. String? labelText,
  4. NikuTextStyle? labelStyle,
  5. NikuTextStyle? floatingLabelStyle,
  6. String? helperText,
  7. NikuTextStyle? helperStyle,
  8. int? helperMaxLines,
  9. String? hintText,
  10. NikuTextStyle? hintStyle,
  11. TextDirection? hintTextDirection,
  12. int? hintMaxLines,
  13. String? errorText,
  14. NikuTextStyle? errorStyle,
  15. int? errorMaxLines,
  16. FloatingLabelBehavior? floatingLabelBehavior,
  17. bool? isDense,
  18. NikuEdgeInsets? contentPadding,
  19. bool? isCollapsed,
  20. Widget? prefixIcon,
  21. NikuBoxConstraints? prefixIconConstraints,
  22. Widget? prefix,
  23. String? prefixText,
  24. NikuTextStyle? prefixStyle,
  25. Widget? suffixIcon,
  26. Widget? suffix,
  27. String? suffixText,
  28. NikuTextStyle? suffixStyle,
  29. NikuBoxConstraints? suffixIconConstraints,
  30. String? counterText,
  31. Widget? counter,
  32. NikuTextStyle? counterStyle,
  33. bool? filled,
  34. Color? fillColor,
  35. Color? focusColor,
  36. Color? hoverColor,
  37. NikuInputBorder? errorBorder,
  38. NikuInputBorder? focusedBorder,
  39. NikuInputBorder? focusedErrorBorder,
  40. NikuInputBorder? disabledBorder,
  41. NikuInputBorder? enabledBorder,
  42. NikuInputBorder? baseBorder,
  43. bool? enabled,
  44. String? semanticCounterText,
  45. bool? alignLabelWithHint,
  46. NikuBoxConstraints? constraints,
})

Implementation

NikuInputDecoration({
  this.icon,
  this.label,
  this.labelText,
  this.labelStyle,
  this.floatingLabelStyle,
  this.helperText,
  this.helperStyle,
  this.helperMaxLines,
  this.hintText,
  this.hintStyle,
  this.hintTextDirection,
  this.hintMaxLines,
  this.errorText,
  this.errorStyle,
  this.errorMaxLines,
  this.floatingLabelBehavior,
  this.isDense,
  this.contentPadding,
  this.isCollapsed,
  this.prefixIcon,
  this.prefixIconConstraints,
  this.prefix,
  this.prefixText,
  this.prefixStyle,
  this.suffixIcon,
  this.suffix,
  this.suffixText,
  this.suffixStyle,
  this.suffixIconConstraints,
  this.counterText,
  this.counter,
  this.counterStyle,
  this.filled,
  this.fillColor,
  this.focusColor,
  this.hoverColor,
  this.errorBorder,
  this.focusedBorder,
  this.focusedErrorBorder,
  this.disabledBorder,
  this.enabledBorder,
  this.baseBorder,
  this.enabled,
  this.semanticCounterText,
  this.alignLabelWithHint,
  this.constraints,
});