ThemeWrapper class

A immutable contained by the NeumorhicTheme That will save the current definition of the theme It will be accessible to the childs widgets by an InheritedWidget

Constructors

ThemeWrapper({required NeumorphismThemeData theme, NeumorphismThemeData? darkTheme, ThemeMode themeMode = ThemeMode.system})
const

Properties

current NeumorphismThemeData?
no setter
darkTheme NeumorphismThemeData?
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
theme NeumorphismThemeData
final
themeMode ThemeMode
final
useDark bool
no setter

Methods

copyWith({NeumorphismThemeData? theme, NeumorphismThemeData? darkTheme, ThemeMode? currentTheme}) ThemeWrapper
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.
override