NiceLeaderboard constructor
const
NiceLeaderboard({
- Key? key,
- required List<
NiceLeaderboardEntry> entries, - String? currentUserId,
- String title = 'Leaderboard',
- ValueChanged<
NiceLeaderboardEntry> ? onEntryTap, - bool showChange = true,
- int topCount = 3,
- int maxVisible = 20,
Implementation
const NiceLeaderboard({
super.key,
required this.entries,
this.currentUserId,
this.title = 'Leaderboard',
this.onEntryTap,
this.showChange = true,
this.topCount = 3,
this.maxVisible = 20,
});