ThemeData class
Theme values shared by descendants through CSS custom properties.
Theme(data: ThemeData(), child: StyledText('Themed'));
Constructors
Properties
- backgroundColor → Color
-
Page background.
final
- borderRadius → num
-
Corner radius in logical pixels.
final
- fontFamily → String
-
Font family.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mutedTextColor → Color
-
Muted text color.
final
- primaryColor → Color
-
Primary color.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- surfaceColor → Color
-
Surface color.
final
- textColor → Color
-
Main text color.
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