TFilePickerTheme class
Constructors
-
TFilePickerTheme({required WidgetStateProperty<Color> color, required WidgetStateProperty<Color> backgroundColor, required WidgetStateProperty<Color> borderColor, required WidgetStateProperty<TextStyle> labelStyle, required WidgetStateProperty<TextStyle> helperTextStyle, required WidgetStateProperty<TextStyle> errorTextStyle, required WidgetStateProperty<TextStyle> tagStyle, required WidgetStateProperty<BoxDecoration> decoration, required WidgetStateProperty<double> borderRadius, required WidgetStateProperty<double> borderWidth, required WidgetStateProperty<LabelBuilder> labelBuilder, required WidgetStateProperty<HelperTextBuilder> helperTextBuilder, required WidgetStateProperty<ErrorsBuilder> errorsBuilder, required FileTagBuilder fileTagBuilder, required WidgetStateProperty<TextStyle> hintStyle, TInputSize size = TInputSize.md, TInputDecorationType decorationType = TInputDecorationType.box, Widget? preWidget, Widget? postWidget, double? height, EdgeInsets? padding, double? fontSize})
-
const
-
TFilePickerTheme.defaultTheme(ColorScheme colors)
-
factory
Methods
-
buildContainer(Set<WidgetState> states, {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
-
buildFilesField({required Set<WidgetState> states, required List<TFile> files, String? placeholder, ValueChanged<TFile>? onRemove})
→ Widget
-
-
copyWith({TInputSize? size, TInputDecorationType? decorationType, WidgetStateProperty<Color>? color, WidgetStateProperty<Color>? backgroundColor, WidgetStateProperty<Color>? borderColor, WidgetStateProperty<TextStyle>? labelStyle, WidgetStateProperty<TextStyle>? helperTextStyle, WidgetStateProperty<TextStyle>? errorTextStyle, WidgetStateProperty<TextStyle>? tagStyle, WidgetStateProperty<BoxDecoration>? decoration, WidgetStateProperty<double>? borderRadius, WidgetStateProperty<double>? borderWidth, WidgetStateProperty<LabelBuilder>? labelBuilder, WidgetStateProperty<HelperTextBuilder>? helperTextBuilder, WidgetStateProperty<ErrorsBuilder>? errorsBuilder, Widget? preWidget, Widget? postWidget, double? height, EdgeInsets? padding, double? fontSize, FileTagBuilder? fileTagBuilder, WidgetStateProperty<TextStyle>? hintStyle})
→ TFilePickerTheme
-
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited