TwipeTheme class

Constructors

TwipeTheme(Color primary, Color secondary, Color accent, Color error, Color warning, Color information, Color succes, Color text, Color border, Color icon, Color background, Map<String, Color> colors)

Properties

accent Color
final
background Color
final
border Color
final
colors Map<String, Color>
final
error Color
final
hashCode int
The hash code for this object.
no setterinherited
icon Color
final
information Color
final
primary Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondary Color
final
succes Color
final
text Color
final
warning Color
final

Methods

getColor(String key) Color
Get Color from colors
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

Static Methods

of(String key) TwipeTheme
setup() Future<void>