TTextFieldTheme constructor
const
TTextFieldTheme({
- TInputSize size = TInputSize.md,
- WidgetStateProperty<
Color?> ? color, - WidgetStateProperty<
Color?> ? backgroundColor, - WidgetStateProperty<
Color?> ? borderColor, - Widget? preWidget,
- Widget? postWidget,
- double? height,
- EdgeInsets? padding,
- double? fontSize,
- double? borderRadius,
- WidgetStateProperty<
TextStyle?> ? labelStyle, - WidgetStateProperty<
TextStyle?> ? helperTextStyle, - WidgetStateProperty<
TextStyle?> ? errorTextStyle, - WidgetStateProperty<
TextStyle?> ? tagStyle, - LabelBuilder? labelBuilder,
- HelperTextBuilder? helperTextBuilder,
- ErrorsBuilder? errorsBuilder,
- BorderBuilder? borderBuilder,
- BoxShadowBuilder? boxShadowBuilder,
- DecorationBuilder? decorationBuilder,
- List<
TextInputFormatter> ? inputFormatters, - TextInputType? keyboardType,
- TextCapitalization textCapitalization = TextCapitalization.none,
- bool autocorrect = false,
- bool enableSuggestions = false,
- int? maxLength,
- MaxLengthEnforcement? maxLengthEnforcement,
- TextInputAction? textInputAction,
- 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,
});