MoodleTaskWidget constructor
- Key? key,
- required MoodleTask task,
- MoodleTaskWidgetDisplayMode displayMode = MoodleTaskWidgetDisplayMode.nameAndCourse,
- bool enableContextMenu = true,
- List<
ContextMenuButtonConfig> additionalContextMenuItems = const [],
Renders the given task
and the given displayMode
.
Implementation
const MoodleTaskWidget({
super.key,
required this.task,
this.displayMode = MoodleTaskWidgetDisplayMode.nameAndCourse,
this.enableContextMenu = true,
this.additionalContextMenuItems = const [],
});