TTextFieldTheme constructor

const TTextFieldTheme({
  1. TInputSize size = TInputSize.md,
  2. WidgetStateProperty<Color?>? color,
  3. WidgetStateProperty<Color?>? backgroundColor,
  4. WidgetStateProperty<Color?>? borderColor,
  5. Widget? preWidget,
  6. Widget? postWidget,
  7. double? height,
  8. EdgeInsets? padding,
  9. double? fontSize,
  10. double? borderRadius,
  11. WidgetStateProperty<TextStyle?>? labelStyle,
  12. WidgetStateProperty<TextStyle?>? helperTextStyle,
  13. WidgetStateProperty<TextStyle?>? errorTextStyle,
  14. WidgetStateProperty<TextStyle?>? tagStyle,
  15. LabelBuilder? labelBuilder,
  16. HelperTextBuilder? helperTextBuilder,
  17. ErrorsBuilder? errorsBuilder,
  18. BorderBuilder? borderBuilder,
  19. BoxShadowBuilder? boxShadowBuilder,
  20. DecorationBuilder? decorationBuilder,
  21. List<TextInputFormatter>? inputFormatters,
  22. TextInputType? keyboardType,
  23. TextCapitalization textCapitalization = TextCapitalization.none,
  24. bool autocorrect = false,
  25. bool enableSuggestions = false,
  26. int? maxLength,
  27. MaxLengthEnforcement? maxLengthEnforcement,
  28. TextInputAction? textInputAction,
  29. bool obscureText = false,
})

Implementation

const TTextFieldTheme({
  super.size = TInputSize.md,
  super.color,
  super.backgroundColor,
  super.borderColor,
  super.preWidget,
  super.postWidget,
  super.height,
  super.padding,
  super.fontSize,
  super.borderRadius,
  super.labelStyle,
  super.helperTextStyle,
  super.errorTextStyle,
  super.tagStyle,
  super.labelBuilder,
  super.helperTextBuilder,
  super.errorsBuilder,
  super.borderBuilder,
  super.boxShadowBuilder,
  super.decorationBuilder,
  this.inputFormatters,
  this.keyboardType,
  this.textCapitalization = TextCapitalization.none,
  this.autocorrect = false,
  this.enableSuggestions = false,
  this.maxLength,
  this.maxLengthEnforcement,
  this.textInputAction,
  this.obscureText = false,
});