Themes class
Contains all Themes of the modern_themes Package. Contains the default Themes and setter for individual Themes.
Constructors
- Themes()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Properties
- darkTheme ↔ ThemeData
-
Dark Theme. The coolest Theme (if you're Batman).
If you set the dark Theme with the Setter, your individual
dark Theme will be returned. If you havn't set a dark Theme,
de defaultDarkTheme will be returned
getter/setter pair
- defaultDarkTheme → ThemeData
-
The Default Dark Theme. The coolest Theme.
If you wan't a cool Theme, that is different from the
Standard Flutter Theme, but you don't want to
make your own Theme, or you don't know how to, use this Theme.
no setter
- defaultHighContrastDarkTheme → ThemeData
-
The High Contrast Version of the Default Dark Theme.
If you wan't a cool Theme, that is different from the
Standard Flutter Theme, but you don't want to
make your own Theme, or you don't know how to, use this Theme.
no setter
- defaultHighContrastLightTheme → ThemeData
-
The High Contrast Version of the Default Light Theme.
If you wan't a cool Theme, that is different from the
Standard Flutter Theme, but you don't want to
make your own Theme, or you don't know how to, use this Theme.
no setter
- defaultLightTheme → ThemeData
-
The Default Light Theme. The Most used Theme.
If you wan't a cool Theme, that is different from the
Standard Flutter Theme, but you don't want to
make your own Theme, or you don't know how to, use this Theme.
no setter
- highContrastDarkTheme ↔ ThemeData
-
The high contrast Version of the darkTheme
If you set the high Contrast dark Theme with the Setter, your individual
high Contrast Version of the dark Theme will be returned.
If you havn't set a this Version of the dark Theme,
de defaultHighContrastDarkTheme will be returned
getter/setter pair
- highContrastLightTheme ↔ ThemeData
-
The high contrast Version of the lightTheme
If you set the high Contrast light Theme with the Setter, your individual
high Contrast Version of the light Theme will be returned.
If you havn't set a this Version of the light Theme,
de defaultHighContrastLightTheme will be returned
getter/setter pair
- lightTheme ↔ ThemeData
-
Light Theme. The most used Theme.
If you set the light Theme with the Setter, your individual
light Theme will be returned. If you havn't set a light Theme,
de defaultLightTheme will be returned
getter/setter pair
- themeMode → ThemeMode
-
Getter for the ThemeMode. iF the ThemeMode is not set,
ThemeMode.system is reaturned as a defualt Value.
Otherwise, the theme Mode the User set with the corresponding
themeMode getter, is returned.
no setter
Static Methods
-
changeTheme(
ThemeMode theme) → void - Changes the ThemeMode Variable to the new Theme.