GradientThemeConfig class

Constructors

GradientThemeConfig({required ThemeGradients light, ThemeGradients? dark})
const
GradientThemeConfig.none()
const
GradientThemeConfig.of(String name)
factory

Properties

dark ThemeGradients
finalinherited
hashCode int
The hash code for this object.
no setterinherited
light ThemeGradients
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

detect(bool darkMode) ThemeGradients
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>?
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

tryParse(Object? source) GradientThemeConfig?