NiceQuestCard constructor
const
NiceQuestCard({
- Key? key,
- required String title,
- String description = '',
- required NiceQuestStatus status,
- List<
NiceQuestObjective> objectives = const [], - String rewardLabel = '',
- IconData? rewardIcon,
- VoidCallback? onClaim,
- VoidCallback? onStart,
- DateTime? expiresAt,
- 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,
});