Skip to content

Make viewport width adjustable for tabView #98506

@Hari-07

Description

@Hari-07

Use case

If there's a pageview design, with a smaller viewport fraction than 1, but also having swipeable tabs for quickly accessing a later page, currently a complex arrangement with a pageview and tabview and the controllers listening to each other and making sure the animations are in sync is required

Proposal

By simply making the viewport width an optional parameter on TabView, that defaults to 1, this sort of design is made much easier

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: proposalA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.f: scrollingViewports, list views, slivers, etc.frameworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions