Opal class
Constructors
-
Opal({required ThemeData lightThemeData, required ThemeData darkThemeData, required ThemeMode themeMode, List<
ThemeMod> darkThemeMods = const [], List<ThemeMod> lightThemeMods = const [], double? themeColorMixture, double? backgroundOpacity, double? canvasOpacity, List<ThemeMod> themeMods = const [], required VoidCallback listener})
Properties
-
backgroundOpacity
↔ ValueNotifier<
double> -
getter/setter pair
-
backgroundSeedStream
→ Stream<
String> -
no setter
-
canvasOpacity
↔ ValueNotifier<
double> -
getter/setter pair
- dark → ThemeData
-
no setter
-
darkThemeData
↔ ValueNotifier<
ThemeData> -
getter/setter pair
-
darkThemeMods
↔ ValueNotifier<
List< ThemeMod> > -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- light → ThemeData
-
no setter
-
lightThemeData
↔ ValueNotifier<
ThemeData> -
getter/setter pair
-
lightThemeMods
↔ ValueNotifier<
List< ThemeMod> > -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- theme → ThemeData
-
no setter
-
themeColorMixture
↔ ValueNotifier<
double> -
getter/setter pair
-
themeMode
↔ ValueNotifier<
ThemeMode> -
getter/setter pair
-
themeMods
↔ ValueNotifier<
List< ThemeMod> > -
getter/setter pair
Methods
-
applyOpal(
ThemeData t) → ThemeData -
isDark(
) → bool -
isPlatformDark(
) → bool -
modifyTheme(
ThemeData theme, {List< ThemeMod> ? overrideMods}) → ThemeData -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setBackgroundSeed(
String seed) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
of(
BuildContext context) → Opal