Skip to content

Support for sheet presentation style #42560

@markqq

Description

@markqq

Use case

Sheet

The sheet presentation style appears as a card that partially covers the underlying content and dims all uncovered areas to prevent interaction with them. The top edge of the parent view or a previous card is visible behind the current card to help people remember the task they suspended when they opened the card. People dismiss a card by:

  • Swiping down from the top of the screen
  • Swiping down from anywhere on the screen when card content is scrolled to the top
  • Tapping a button
  • Use a sheet for nonimmersive modal content that doesn’t enable a complex task.

image

https://developer.apple.com/design/human-interface-guidelines/ios/app-architecture/modality/#sheet

Proposal

Add sheet to CupertinoPageRoute class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilityc: new widgetMust also have "c: new feature". Request for a new widget.customer: crowdAffects or could affect many people, though not necessarily a specific customer.f: cupertinoflutter/packages/flutter/cupertino repositoryframeworkflutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions