medal_table 2.0.1
medal_table: ^2.0.1 copied to clipboard
A medal table showing ranking. It can be made into a table with different information by changing the settings
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add medal_table
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
medal_table: ^2.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:medal_table/model/table_item_model.dart';
import 'package:medal_table/view/medal_table.dart';
import 'package:medal_table/view/widget/table_header.dart';
import 'package:medal_table/view/widget/table_item.dart';