SmoothTheme class Null safety
Constructors
- SmoothTheme()
-
const
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
getColorImpl(
dynamic colorScheme, dynamic materialColor, ColorDestination colorDestination) → dynamic -
Returns a shade of a
materialColor
[...] -
getMaterialColorImpl(
dynamic context) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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
- instance ↔ SmoothTheme
-
The singleton for the theme.
read / write
Static Methods
-
getColor(
dynamic colorScheme, dynamic materialColor, ColorDestination colorDestination) → dynamic -
getMaterialColor(
dynamic context) → dynamic -
getThemeData(
dynamic brightness, String colorTag) → dynamic
Constants
- ADDITIONAL_OPACITY_FOR_DARK → const double
-
.3
- COLOR_TAG_BLUE → const String
-
Theme color tags
'blue'
- COLOR_TAG_BROWN → const String
-
'brown'
- COLOR_TAG_GREEN → const String
-
'green'
-
MATERIAL_COLORS
→ const Map<
String, dynamic> -
Theme material colors
<String, MaterialColor>{COLOR_TAG_BLUE : Colors.lightBlue, COLOR_TAG_GREEN : Colors.green, COLOR_TAG_BROWN : Colors.brown}