AppTheme class

Constructors

AppTheme({required Color primary, required Color secondary, bool darkTheme = false, Color backgroundLight = const Color(0xffeeeeee), Color backgroundDark = const Color(0xff222222), Color textLight = const Color(0xff444444), Color textDark = const Color(0xffffffff)})

Properties

backgroundDark Color
final
backgroundLight Color
final
darkTheme bool
final
hashCode int
The hash code for this object.
no setterinherited
primary Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondary Color
final
textDark Color
final
textLight Color
final

Methods

backgroundColor() Color
boxShadow() List<BoxShadow>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
primaryColor() Color
secondaryColor() Color
textColor() Color
toString() String
A string representation of this object.
inherited

Operators

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