TopicTreeWidget constructor

const TopicTreeWidget({
  1. Key? key,
  2. required List<Topic> topics,
  3. required void onTopicTap(
    1. Topic
    ),
  4. Map<String, String> topicMasteryMap = const {},
})

Implementation

const TopicTreeWidget({
  super.key,
  required this.topics,
  required this.onTopicTap,
  this.topicMasteryMap = const {},
});