TFilePickerTheme class

Inheritance

Constructors

TFilePickerTheme({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, double tagSpacing = 6.0, double tagRunSpacing = 6.0, EdgeInsets tagPadding = const EdgeInsets.symmetric(horizontal: 8.0, vertical: 2.0), double tagBorderRadius = 5.0, Color? tagBackgroundColor, Color? tagTextColor, double? tagFontSize, FontWeight? tagFontWeight, Color? tagIconColor, double tagIconSize = 14.0, double minInputWidth = 150.0, double maxInputWidth = double.infinity, Widget tagBuilder(TFile file, VoidCallback onRemove)?})
const

Properties

backgroundColor WidgetStateProperty<Color?>?
finalinherited
borderBuilder BorderBuilder?
finalinherited
borderColor WidgetStateProperty<Color?>?
finalinherited
borderRadius double?
finalinherited
boxShadowBuilder BoxShadowBuilder?
finalinherited
color WidgetStateProperty<Color?>?
finalinherited
decorationBuilder DecorationBuilder?
finalinherited
errorsBuilder ErrorsBuilder?
finalinherited
errorTextStyle WidgetStateProperty<TextStyle?>?
finalinherited
fieldFontSize double
no setterinherited
fieldHeight double
no setterinherited
fieldPadding EdgeInsets
no setterinherited
fontSize double?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
height double?
finalinherited
helperTextBuilder HelperTextBuilder?
finalinherited
helperTextStyle WidgetStateProperty<TextStyle?>?
finalinherited
labelBuilder LabelBuilder?
finalinherited
labelStyle WidgetStateProperty<TextStyle?>?
finalinherited
maxInputWidth double
final
minInputWidth double
final
padding EdgeInsets?
finalinherited
postWidget Widget?
finalinherited
preWidget Widget?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size TInputSize
finalinherited
tagBackgroundColor Color?
final
tagBorderRadius double
final
tagBuilder Widget Function(TFile file, VoidCallback onRemove)?
final
tagFontSize double?
final
tagFontWeight FontWeight?
final
tagIconColor Color?
final
tagIconSize double
final
tagPadding EdgeInsets
final
tagRunSpacing double
final
tagSpacing double
final
tagStyle WidgetStateProperty<TextStyle?>?
finalinherited
tagTextColor Color?
final

Methods

buildBorder(TInputContext ctx, Color color) Border
inherited
buildBoxShadow(TInputContext ctx, Color color) List<BoxShadow>?
inherited
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
inherited
buildDecoration(TInputContext ctx) BoxDecoration
inherited
buildErrors(TInputContext ctx, List<String> errors) Widget
inherited
buildHelperText(TInputContext ctx, String? helperText) Widget
inherited
buildLabel(TInputContext ctx, String? label, String? tag, bool isRequired) Widget
inherited
buildTagChip(ColorScheme colors, TFile file, VoidCallback onRemove) 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, List<TextInputFormatter>? inputFormatters, TextInputType? keyboardType, TextCapitalization? textCapitalization, bool? autocorrect, bool? enableSuggestions, int? maxLength, MaxLengthEnforcement? maxLengthEnforcement, TextInputAction? textInputAction, bool? obscureText, double? tagSpacing, double? tagRunSpacing, EdgeInsets? tagPadding, double? tagBorderRadius, Color? tagBackgroundColor, Color? tagTextColor, double? tagFontSize, FontWeight? tagFontWeight, Color? tagIconColor, double? tagIconSize, double? minInputWidth, double? maxInputWidth, Widget tagBuilder(TFile file, VoidCallback onRemove)?}) TFilePickerTheme
override
getFileIcon(String extension, ColorScheme colorScheme) Widget
getHintStyle(ColorScheme colors) TextStyle
inherited
isImageFile(String extension) bool
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