DVModuleThemeMode enum
How a module's own look combines with the application's.
dartvel.modules.<id>.theme in the parent's pubspec. The parent's theme
is its MaterialApp's, which is application code; the module's is whatever
the module declares. The mode is therefore a rule for combining two
things rather than a switch on one.
Values
- inherit → const DVModuleThemeMode
-
The application's theme. The module contributes nothing. The default.
- extend → const DVModuleThemeMode
-
The application's theme with the module's own decisions applied over it: what the module did not say, the application still says.
- override → const DVModuleThemeMode
-
The module's theme, in place of the application's.
- isolated → const DVModuleThemeMode
-
The module's theme, and no path back to the application's -- not even through the values the module left at their defaults.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
Constants
-
values
→ const List<
DVModuleThemeMode> - A constant List of the values in this enum, in order of their declaration.