0 purchases
easy data table
Easy Data Table #
easy_data_table is a simple and efficient way to use data tables in Flutter.
Features #
Simplified Data Tables, Easily create data tables with minimal code.
Selection, Enable row selection with a checkbox column.
Customization Customize appearance with various options.
Pagination Implement pagination for large datasets
Sorting by predefined columns
Get Started #
To use this package, follow these steps:
1. Depend on it #
Add this to your package's pubspec.yaml file:
flutter pub add easy_data_table
copied to clipboard
2. Import it #
Add this import to your Dart code:
import 'package:easy_data_table/easy_data_table.dart';
copied to clipboard
Usage #
Using easy_data_table is straightforward. Create a DataTable widget with your data:
EasyDataTable<YourDataModel>(
columns: [
EasyColumn(headerText: 'ID', ...),
EasyColumn(headerText: 'Name', ...),
EasyColumn(headerText: 'Age', ...),
],
rows: [
// Populate your data
// Example: YourDataModel(id: 1, name: 'John Doe', age: 25),
// Example: YourDataModel(id: 2, name: 'Jane Doe', age: 30),
],
)
copied to clipboard
FAQ #
Q: How do I customize the appearance of cells? #
A: You can use the EasyColumn options such as cellWidgetBuilder, textAlign, and width to customize cell appearance.
Support and Contact #
Email: [email protected]
Github: oseeshogun
Contribute #
Any suggestion to improve/add is welcome, if you want to make a PR, you are welcome :)
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.