easy_data_table 0.0.3 copy "easy_data_table: ^0.0.3" to clipboard
easy_data_table: ^0.0.3 copied to clipboard

Unleash the power of data presentation in your Flutter app effortlessly with our game-changing package! If you've ever found yourself wrestling with complex implementations to create data tables, look [...]

Easy Data Table #

pub package

easy_data_table is a simple and efficient way to use data tables in Flutter.

Image Demo

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 #

Contribute #

Any suggestion to improve/add is welcome, if you want to make a PR, you are welcome :)

7
likes
140
points
31
downloads

Publisher

unverified uploader

Weekly Downloads

2024.07.08 - 2025.01.20

Unleash the power of data presentation in your Flutter app effortlessly with our game-changing package! If you've ever found yourself wrestling with complex implementations to create data tables, look no further – our package is designed to make the process not just manageable, but downright easy.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, tuple

More

Packages that depend on easy_data_table