Search packages, repositories and app categories

cupertino_modal_sheet cover
Package detailsv1.1.0

cupertino_modal_sheet

Shows a modal iOS-style sheet that slides up from the bottom of the screen.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
15.8K
Likes
85
Pub points
150

Install package

flutter pub add cupertino_modal_sheet

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter package that displays an iOS-style bottom sheet modal, sliding up from the screen's bottom. Designed to mimic Apple's native Cupertino modal sheets, it provides a smooth, platform-appropriate user experience across Android, iOS, Web, macOS, Windows, and Linux. The package is lightweight and integrates seamlessly with existing Flutter apps, offering customizable appearance and behavior. It supports interactive gestures like drag-to-dismiss and can be used for selecting options, displaying forms, or presenting additional content in a compact, focused way.

Use cases

  • Displaying action menus
  • Presenting form inputs
  • Showing detailed information
  • Handling user choices
  • Implementing iOS-style modals

Key features

  • iOS-style slide-up animation
  • Gesture-driven dismissal
  • Cross-platform compatibility
  • Customizable content
  • Smooth transitions
  • Supports all major platforms

Suitable for

  • iOS-inspired UI design
  • Bottom sheet modals in cross-platform apps
  • User input forms
  • Action selection interfaces
  • Apps targeting Apple ecosystem

Considerations

  • Best suited for iOS-like designs
  • May require styling adjustments on non-iOS platforms
  • Limited to bottom-sheet layout
  • Not ideal for full-screen modals
  • Depends on Cupertino theme consistency

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

cupertino_modal_sheet

pub package

English, 日本語

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.

Mobile

Tablet

Features

  • Hero compatibility
  • Tablet compatibility
  • Swiping to dismiss
  • Multi sheet (Dimming is imperfect)
  • Navigator2 compatibility

Getting started

showCupertinoModalSheet(
  context: context,
  builder: (context) => BookDetailsScreen(book: book),
);

Navigator2.0

Use CupertinoModalSheetPage or directly CupertinoModalSheetRoute.

TODO

  • [ ] Tests
  • [ ] Extensibility
  • [ ] Fix dimming of multi-sheet

PRs are welcome!

Categories

Source repository

Projects using this package

No data available yet.