medal_table library

A customizable ranking ("medal") table widget for Flutter.

Import this single file to access the public API:

import 'package:medal_table/medal_table.dart';

Classes

MedalTable
A ranking ("medal") table.
TableItemModel
A single row of a MedalTable.

Enums

TrendDirection
Direction of a rank's movement between periods.

Constants

kDefaultMedalColors → const List<Color>
Default medal colors used for the top three ranks: gold, silver and bronze.

Typedefs

MedalTableSemanticsLabelBuilder = String Function(TableItemModel item, int rank)
Builds the screen-reader label of a row from its item and 1-based rank.