ExploreActionTile constructor

ExploreActionTile(
  1. ListCauseAction model,
  2. {ExploreTileStyle? style,
  3. Key? key}
)

Implementation

ExploreActionTile(ListCauseAction model, {ExploreTileStyle? style, Key? key})
    : action = model,
      super(
        title: model.title,
        type: model.superType.name,
        iconColor: model.primaryColor,
        headerColor: model.secondaryColor,
        dividerColor: model.tertiaryColor,
        icon: model.icon,
        cause: model.cause,
        timeText: model.timeText,
        completed: model.completed,
        style: style,
        key: key,
      );