MaterialThemeBuilder class

Constructors

MaterialThemeBuilder({Brightness brightness = Brightness.light, required Color primary, required Color secondary, required Color tertiary, Color error = Colors.red, Color neutral = Colors.grey})

Properties

brightness Brightness
final
error Color
final
hashCode int
The hash code for this object.
no setterinherited
neutral Color
final
primary Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondary Color
final
tertiary Color
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toScheme() ColorScheme
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

neutralVariantPalette Map<int, Color>
final

Static Methods

tonalPalette(Color color) Map<int, Color>