ExploreLearningTile constructor

ExploreLearningTile(
  1. LearningResource model,
  2. {ExploreTileStyle? style,
  3. Key? key}
)

Implementation

ExploreLearningTile(LearningResource model,
    {ExploreTileStyle? style, Key? key})
    : resource = model,
      super(
        title: model.title,
        type: model.type.name,
        iconColor: blue0,
        headerColor: blue1,
        dividerColor: blue2,
        icon: model.icon,
        cause: model.cause,
        timeText: model.timeText,
        completed: model.completed,
        key: key,
        style: style,
      );