VoComponentTheme class abstract

Blueprint contract for Vo* component styles (toasts, overlays, dashboard…).

Every style has a default. Extend this, override the components you need, then return it from VoTheme.componentTheme. VoTheme.build injects brightness-resolved colors, sizes and typography through copyWith.

Inheritance

Constructors

VoComponentTheme({VoColors? colors, VoSizes? sizes, VoTypography? typography})
const

Properties

arrowDownIcon → Widget
Icon shown as the trailing affordance on select-style fields.
no setter
colors → VoColors
no setter
dashboard → VoDashboardTheme
no setter
divider → VoDividerTheme
no setter
feedback → VoFeedbackTheme
no setter
hashCode → int
The hash code for this object.
no setterinherited
keyboard → VoKeyboardTheme
no setter
Icon used to dismiss/navigate back from overlays.
no setter
overlay → VoOverlayTheme
no setter
overlayTile → VoOverlayTileTheme
no setter
phoneInput → VoPhoneInputTheme
no setter
pinInput → VoPinInputTheme
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sizes → VoSizes
no setter
toast → VoToastTheme
no setter
type → Object
The extension's type.
no setterinherited
typography → VoTypography
no setter

Methods

copyWith({VoColors? colors, VoSizes? sizes, VoTypography? typography}) → VoComponentTheme
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant VoComponentTheme? other, double t) → VoComponentTheme
Linearly interpolate with another ThemeExtension object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
switchingViewTransition({bool isForward = true}) → VoViewTransition
Transition used when swapping views (e.g. animated step changes).
toString() → String
A string representation of this object.
inherited

Operators

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