Skip to main content

Command Palette

Search for a command to run...

Horizontal Data Table

Published
•1 min read•View as Markdown
Horizontal Data Table
M

I am a mobile developer specialising in Android and Flutter. I maintain open-source Flutter packages on GitHub and pub.dev. This blog is where I share my experiences and insights from my development journey.

Installation

Checkout on pub.dev

GitHub: https://github.com/MayLau-CbL/flutter_horizontal_data_table

flutter pub add horizontal_data_table

Functions

Horizontal Data Table is a package for easy fixed column table creation. The table is basically by two ListView which using builder function to build children widgets in order to recycle the unused children. Unlike the flutter DataTable widget, the recycling can enhance the performance when showing a long list of data.

Fixed Column Table

It create a fixed first column table. Header and footer also able to be fixed.

Simulator_Screen_Shot_-_iPhone_SE_(2nd_generation)_-_2022-06-15_at_20.04.23.png

RTL mode is also supported now

Simulator_Screen_Shot_-_iPhone_SE_(2nd_generation)_-_2022-06-15_at_20.04.37.png

Support Scroll Style Customisation

Scrollbar style is configurable.

Simulator_Screen_Shot_-_iPhone_SE_(2nd_generation)_-_2022-06-15_at_20.05.46.png

Support Pull-to-refresh/load

The pull to refresh/load action is based on the pull-to-refresh package. Support many headers and footers.

Simulator_Screen_Shot_-_iPhone_SE_(2nd_generation)_-_2022-06-15_at_20.05.36.png