Skip to content

Rename SliverToBoxAdapter to SliverBox #173006

@loic-sharma

Description

@loic-sharma

Use case

SliverToBoxAdapter is used when you want bridge between slivers and box widgets. While its name is clear, it's also a bit clunky.

Proposal

Consider:

  1. Introduce SliverBox
  2. Deprecate SliverToBoxAdapter in favor of SliverBox
  3. Add a Dart fix to automatically migrate apps to use SliverBox instead of SliverToBoxAdapter

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projectc: proposalA detailed proposal for a change to Flutterf: scrollingViewports, list views, slivers, etc.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions