NiceQuestCard constructor

const NiceQuestCard({
  1. Key? key,
  2. required String title,
  3. String description = '',
  4. required NiceQuestStatus status,
  5. List<NiceQuestObjective> objectives = const [],
  6. String rewardLabel = '',
  7. IconData? rewardIcon,
  8. VoidCallback? onClaim,
  9. VoidCallback? onStart,
  10. DateTime? expiresAt,
  11. IconData coverIcon = Icons.map_outlined,
})

Implementation

const NiceQuestCard({
  super.key,
  required this.title,
  this.description = '',
  required this.status,
  this.objectives = const [],
  this.rewardLabel = '',
  this.rewardIcon,
  this.onClaim,
  this.onStart,
  this.expiresAt,
  this.coverIcon = Icons.map_outlined,
});