ModuleStatusTheme class

Holds theme information for module status.

Inheritance

Constructors

ModuleStatusTheme({required Color pendingColor, required Color uploadedColor, required Color lateColor, required Color doneColor})
Holds theme information for module status.

Properties

doneColor → Color
The color for done modules.
final
hashCode → int
The hash code for this object.
read-onlyinherited
lateColor → Color
The color for late modules.
final
pendingColor → Color
The color for pending modules.
final
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
type → Object
The extension's type.
read-onlyinherited
uploadedColor → Color
The color for uploaded modules.
final

Methods

copyWith({Color? pendingColor, Color? uploadedColor, Color? lateColor, Color? doneColor}) → ThemeExtension<ModuleStatusTheme>
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<ModuleStatusTheme>? other, double t) → ThemeExtension<ModuleStatusTheme>
Linearly interpolate with another ThemeExtension object.
override
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(BuildContext context) → ModuleStatusTheme
Returns the ModuleStatusTheme for the given context.