Skip to content

showCupertinoSheet is missing RouteSettings #178641

Description

@jonmountjoy

Use case

Almost all navigation APIs in Flutter have an optional RouteSettings argument, including showDialog, MaterialPageRoute, CupertinoPageRoute, and even popup menu buttons like PopupMenuButton.

showCupertinoSheet does not have a RouteSettings, making it very difficult to trace - especially given the recent fixes in GoRouter, where we can now observe almost all navigation.

Proposal

Add a RouteSettings?: routeSettings to showCupertinoSheet

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: cupertinoflutter/packages/flutter/cupertino repositoryf: routesNavigator, Router, and related APIs.frameworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions