TInputFieldTheme class

Implementers
Annotations

Constructors

TInputFieldTheme({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})
const

Properties

backgroundColor WidgetStateProperty<Color?>?
final
borderBuilder BorderBuilder?
final
borderColor WidgetStateProperty<Color?>?
final
borderRadius double?
final
boxShadowBuilder BoxShadowBuilder?
final
color WidgetStateProperty<Color?>?
final
decorationBuilder DecorationBuilder?
final
errorsBuilder ErrorsBuilder?
final
errorTextStyle WidgetStateProperty<TextStyle?>?
final
fieldFontSize double
no setter
fieldHeight double
no setter
fieldPadding EdgeInsets
no setter
fontSize double?
final
hashCode int
The hash code for this object.
no setterinherited
height double?
final
helperTextBuilder HelperTextBuilder?
final
helperTextStyle WidgetStateProperty<TextStyle?>?
final
labelBuilder LabelBuilder?
final
labelStyle WidgetStateProperty<TextStyle?>?
final
padding EdgeInsets?
final
postWidget Widget?
final
preWidget Widget?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size TInputSize
final
tagStyle WidgetStateProperty<TextStyle?>?
final

Methods

buildBorder(TInputContext ctx, Color color) Border
buildBoxShadow(TInputContext ctx, Color color) List<BoxShadow>?
buildContainer(TInputContext ctx, {required Widget? child, Widget? additionalPostWidget, Widget? additionalPreWidget, String? label, String? tag, String? helperText, List<String>? errors, bool isRequired = false, bool isMultiline = false, bool block = true}) Widget
buildDecoration(TInputContext ctx) BoxDecoration
buildErrors(TInputContext ctx, List<String> errors) Widget
buildHelperText(TInputContext ctx, String? helperText) Widget
buildLabel(TInputContext ctx, String? label, String? tag, bool isRequired) Widget
copyWith({TInputSize? size, 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}) TInputFieldTheme
getHintStyle(ColorScheme colors) TextStyle
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited