ThemeProperty class final
One property a component reads: its key in kebab case, what it holds and whether it takes a value per state.
- Annotations
Constructors
- ThemeProperty(String name, String kind, bool states, {bool alias = false})
-
A property called
nameholding akind.const
Properties
- alias → bool
-
Whether the key is a shorter spelling of another one.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → String
-
What the value is (
color,text style,enum: a | b).final - name → String
-
The key, in kebab case (
background-color).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- states → bool
-
Whether the value may be a map per state.
final
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