Skip to content

Add clipBehavior on TabBarView #102156

@mrgnhnt96

Description

@mrgnhnt96

Use case

I have a multiple rows of TabBars & TabBarViews. Some of the view have large shadows. Currently, the TabBarView does not have a clipBehavior property to pass to the internal PageView. With this default behavior, it clips the shadow which requires some work around to prevent the clipping.

With default PageView clipBehavior

With Clip.none

Proposal

I suggest adding a clipBehavior argument on the TabBarView which will be passed to the PageView within the build method.

Metadata

Metadata

Assignees

Labels

c: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions