FluttyMaterialTheme class abstract
Base contract for a Flutty design system theme.
Implementations provide the light and dark ThemeData variants and a unique name used for persistence.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Unique identifier of the theme, persisted by ThemeCubit.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dark(
) → ThemeData? - The dark variant of this theme.
-
light(
) → ThemeData? - The light variant of this theme.
-
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
Static Properties
- defaultTheme ↔ FluttyMaterialTheme
-
Theme used as fallback when no persisted selection is found.
getter/setter pair
-
themes
↔ List<
FluttyMaterialTheme> -
All themes available for selection in the design system.
getter/setter pair