flutter_table 1.1.0 flutter_table: ^1.1.0 copied to clipboard
Two-dimension table with both sticky headers. You may scroll left \ right and top \ bottom. Sticky headers always stay visible. Legend cell (top left) always visible too.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_table
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_table: ^1.1.0
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:flutter_table/cell_alignments.dart';
import 'package:flutter_table/cell_dimensions.dart';
import 'package:flutter_table/table_sticky_headers.dart';