presentation/widgets/common/leaderboard_list
library
Classes
-
LeaderboardEntry
-
One caller-supplied leaderboard row — rank, name and score are already
formatted/localized strings (same convention as
VictoryCardTemplate's
statLines: this widget never invents ranking or number formatting).
-
LeaderboardList
-
Pure, data-driven leaderboard display (rank + name + score + optional
avatar), candy-styled to match the rest of
common/. Composes
AvatarFrame for the avatar slot; ranking/scoring logic and data all
come from the consumer app.