Shows a modal iOS-style sheet that slides up from the bottom of the screen.
On mobile devices, the content is displayed as a sheet, with part of the background content near the top of the screen.
On tablet, a dimming layer is added to the background content and the content is centered over this layer.
- Hero compatibility
- Tablet compatibility
- Swiping to dismiss
- Multi sheet (Dimming is imperfect)
- Navigator2 compatibility
showCupertinoModalSheet( context: context, builder: (context) => BookDetailsScreen(book: book), );
Use CupertinoModalSheetPage or directly CupertinoModalSheetRoute.
PRs are welcome!