data_grid

Creator: coderz1093

Last updated:

Add to Cart

Description:

data grid

This package is in development and breaking changes may be made at any time.
Data Grid is a performance focused data grid optimized for large numeric tables.
Features #

Builders to prevent unnecessary rendering of data.
Performant layout algorithm, either a fixedWidth or autoFitWidth that doesn't
need to perform the expensive task of computing a each widgets getMinIntrinsicWidth
Frozen header row and column headers

Grid widget for dart that features a frozen left and header column

Getting started #
In the command line
flutter pub get data_grid
copied to clipboard
Usage #
class MyWidget extends StatelessWidget {
const MyWidget({Key? key}) : super(key: key);

@override
Widget build(BuildContext context) {
return Grid(
columns: [
GridColumn.autoFitWidth(text: "Hello"),
GridColumn.autoFitWidth(text: "World"),
],
rows: [
GridRow(children: [
GridCell.autoFitWidth(text: "123.12", sortValue: 123.12),
GridCell.autoFitWidth(text: "12", sortValue: 12),
])
],
);
}
}

copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.