NiceLeaderboard constructor

const NiceLeaderboard({
  1. Key? key,
  2. required List<NiceLeaderboardEntry> entries,
  3. String? title,
  4. String scoreLabel = 'Score',
  5. String formatScore(
    1. double
    )?,
  6. int highlightTop = 3,
  7. int? maxEntries,
})

Implementation

const NiceLeaderboard({
  super.key,
  required this.entries,
  this.title,
  this.scoreLabel = 'Score',
  this.formatScore,
  this.highlightTop = 3,
  this.maxEntries,
});