FxComponentTheme class abstract

Blueprint contract for Material sub-theme builders.

Extend this in app/theme/app_theme_data.dart to override any sub-theme. All getters receive brightness-resolved colors, sizes, and typography from FxTheme.build — never construct raw colors here.

Inheritance

Constructors

FxComponentTheme({required FxColors colors, required FxSizes sizes, required FxTypography typography})
const

Properties

arrowDownIcon → Widget
no setter
arrowUpIcon → Widget
no setter
closeIcon → Widget
no setter
colors → FxColors
final
hashCode → int
The hash code for this object.
no setterinherited
iconToggleTransition → FxViewTransitionTheme
no setter
no setter
obscuredSuffixIcon → Widget
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sizes → FxSizes
final
type → Object
The extension's type.
no setterinherited
typography → FxTypography
final
visibleSuffixIcon → Widget
no setter

Methods

checkedCheckboxIcon({double? size, Color? color}) → Widget
clearIcon({double? size, Color? color}) → Widget
copyWith({FxColors? colors, FxSizes? sizes, FxTypography? typography}) → FxComponentTheme
Returns a copy with updated fields. Called by FxTheme.build with brightness-resolved instances.
override
lerp(covariant FxComponentTheme? other, double t) → FxComponentTheme
Linearly interpolate with another ThemeExtension object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
searchIcon({double? size, Color? color}) → Widget
switchingViewTransition({bool isForward = true}) → FxViewTransitionTheme
toString() → String
A string representation of this object.
inherited
uncheckedCheckboxIcon({double? size, Color? color}) → Widget

Operators

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