Skip to content

Horizontal Padding on CupertinoSegmentedControl #25989

@acahir

Description

@acahir

The SegmentedControl has a hardcoded horizontal padding on line 16:

const EdgeInsets _kHorizontalItemPadding = EdgeInsets.symmetric(horizontal: 16.0);

While having a default value makes sense, is there any reason this is not customizable via a Padding as a param for that widget?

Unless there's another alternative that I'm missing.

Metadata

Metadata

Labels

f: cupertinoflutter/packages/flutter/cupertino repositoryframeworkflutter/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