TaskStatusTheme class
Theme extension for MoodleTask.status
.
- Inheritance
-
- Object
- ThemeExtension<
TaskStatusTheme> - TaskStatusTheme
Constructors
- TaskStatusTheme({required Color lateColor, required Color pendingColor, required Color doneColor, required Color uploadedColor})
-
Theme extension for
MoodleTask.status
.
Properties
- doneColor → Color
-
Color for MoodleTaskStatus.done
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lateColor → Color
-
Color for MoodleTaskStatus.late
final
- pendingColor → Color
-
Color for MoodleTaskStatus.pending
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → Object
-
The extension's type.
no setterinherited
- uploadedColor → Color
-
Color for MoodleTaskStatus.uploaded
final
Methods
-
copyWith(
{Color? lateColor, Color? pendingColor, Color? doneColor, Color? uploadedColor}) → ThemeExtension< TaskStatusTheme> -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(
covariant ThemeExtension< TaskStatusTheme> ? other, double t) → ThemeExtension<TaskStatusTheme> -
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