flutter / flutter/flutter

Feature request: TabBarView.builder

Open
#160,427 2 comments 2 reactions 0 assignees View on GitHub
c: proposal p: material_ui P3 package team-design triaged-design
Dominant language
Dart
Stars
179k
Forks
31.1k
PR merge metrics
PR metrics pending

Description

We have `PageView.builder` however we do not have `TabBarView.builder`.

### Rationale

Context: My specific app's PageView/TabBarView needs around 800k children.

The reason I would like TabBarView.builder is due to the way that TabBarView and PageView handle animating to pages. `TabBarView` simply animates along the axis by 1 page regardless of which page you are animating to -this means there are no unnecessary page builds. `PageView` however animates the entire range of pages between the current page and the desired page. When handling such a large number of pages this because unfeasible.

---

NB: This was requested by in 2019 (#26957) but locked due to inactivity.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.