AppTheme class

Flutter ThemeData palette configuration converter Accepts a palette abstraction and uses it to assemble standard Flutter ThemeData objects.

Constructors

AppTheme({AppPalette? lightPalette, AppPalette? darkPalette})
const

Properties

dark → ThemeData
Builds the dark theme using the resolved dark palette.
no setter
darkPalette → AppPalette?
final
hashCode → int
The hash code for this object.
no setterinherited
light → ThemeData
Builds the light theme using the resolved light palette.
no setter
lightPalette → AppPalette?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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