Course class
A single course inside a LearningTemplate.
Constructors
Properties
- duration → String?
-
Course duration text.
final
- gradient → Gradient?
-
Icon tile gradient.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData
-
Leading icon.
final
- lessons → String?
-
Lessons count text.
final
- onContinue → VoidCallback?
-
Continue action.
final
- onTap → VoidCallback?
-
Tap callback.
final
- progress → double?
-
Completion progress (0–1).
final
- rating → double?
-
Rating (0–5).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subtitle → String
-
Course subtitle.
final
- title → String
-
Course title.
final
Methods
-
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