shadcn_flutter icon indicating copy to clipboard operation
shadcn_flutter copied to clipboard

[Feature]: TableView component

Open AndryHTC opened this issue 1 month ago • 1 comments

Feature Description

Table should have the builder pattern for performance reasons, lazy loading the cells that are not in view

Problem Statement

Big tables are impossible to load and scroll

Proposed Solution

Table.builder pattern

Feature Type

New Component

Use Cases

Alternatives Considered

No response

Priority

High - Important for my use case

Implementation Ideas

No response

Related Examples

No response

Checklist

  • [x] I have searched existing issues and this feature hasn't been requested
  • [x] I have provided clear use cases for this feature
  • [x] I understand this feature may take time to implement

AndryHTC avatar Nov 24 '25 15:11 AndryHTC

The Table widget was never intended to handle large cols/rows or to lazily build cells. The Table widget cannot utilize a builder because it requires all widgets to be laid out to compute necesarry layout data (such as intrinsic column sizes, frozen cols/rows, etc.)

What you're looking for is a TableView. While this is not currently built into this package, there is an existing package called two_dimensional_scrollables.

It might take time to build one in this package and since this issue is high priority for you, i'd recommend to use the 3rd party package at least for now.

I believe TableView it self would be a great addition to this package, i have to think whats the best approach to implement this component.

sunarya-thito avatar Nov 24 '25 18:11 sunarya-thito