TWidgetThemeExtension class
Constructors
-
TWidgetThemeExtension({MaterialColor primary = AppColors.primary, MaterialColor success = AppColors.success, MaterialColor warning = AppColors.warning, MaterialColor info = AppColors.info, MaterialColor danger = AppColors.danger, MaterialColor grey = AppColors.grey, Color layoutFrame = AppColors.grey, TButtonType buttonType = TButtonType.solid, TVariant chipType = TVariant.tonal, TVariant toastType = TVariant.outline, TVariant tooltipType = TVariant.tonal, TInputFieldTheme inputFieldTheme = const TInputFieldTheme(), TTextFieldTheme textFieldTheme = const TTextFieldTheme(), TTagsFieldTheme tagsFieldTheme = const TTagsFieldTheme(), TNumberFieldTheme numberFieldTheme = const TNumberFieldTheme(), TFilePickerTheme filePickerTheme = const TFilePickerTheme()})
-
const
Methods
-
copyWith({MaterialColor? primary, MaterialColor? success, MaterialColor? warning, MaterialColor? info, MaterialColor? danger, MaterialColor? grey, Color? layoutFrame, TButtonType? buttonType, TVariant? chipType, TVariant? toastType, TVariant? tooltipType, TInputFieldTheme? inputFieldTheme, TTextFieldTheme? textFieldTheme, TTagsFieldTheme? tagsFieldTheme, TNumberFieldTheme? numberFieldTheme, TFilePickerTheme? filePickerTheme})
→ TWidgetThemeExtension
-
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(covariant ThemeExtension<TWidgetThemeExtension>? other, double t)
→ TWidgetThemeExtension
-
Linearly interpolate with another ThemeExtension object.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited