adaptive_sheet 1.0.1 copy "adaptive_sheet: ^1.0.1" to clipboard
adaptive_sheet: ^1.0.1 copied to clipboard

A zero-boilerplate, responsive Cupertino bottom sheet kit for Flutter. Clean header, drag physics, keyboard handling, and adaptive tablet presentation.

1.0.1 #

  • Compress the demo GIFs so they render in the README on GitHub and pub.dev.
  • Shorten the package description to satisfy pub.dev length limits.
  • No API changes.

1.0.0 #

  • Initial release.
  • Zero-boilerplate AdaptiveSheet.show<T>(...) and context.showAdaptiveSheet<T>(...) API returning Future<T?>.
  • Built-in customizable header: grabber, leading icon, title, subtitle, and close button.
  • Distinct header controls: a quiet "ghost" leading action vs a prominent, 44×44 keyboard-focusable close button.
  • Native drag physics via DraggableScrollableSheet with snap-to-stops and drag-to-dismiss.
  • Sticky footer builder that pins action buttons below the scrollable content.
  • iOS-style action lists: AdaptiveSheetAction and AdaptiveSheetActionGroup (including destructive rows).
  • Keyboard avoidance that keeps inputs above the software keyboard.
  • Responsive sizing: full width on phones, width-constrained and optionally centered on tablets/large displays.
  • Optional frosted-glass barrier (barrierBlur) and dimmed barrier with configurable opacity.
  • onWillPop guard protecting dirty forms across accidental dismissal paths (close button, barrier, drag, back).
  • Safe-area, notch, and home-indicator handling.
  • expandContentToFit mode for content-sized sheets; clamped, non-throwing size fractions.
  • Full /// documentation and a widget-test suite covering dismissal, guards, keyboard insets, overflow, and responsive widths.
  • Five runnable, tested examples: a Google-Maps-style location card, media picker, password reset with live strength checklist, live theme/accent customizer, and a gated terms reader; plus a live theme-mode/accent notifier in the example app.
0
likes
160
points
88
downloads

Documentation

API reference

Publisher

verified publishereebrahimjoy.com

Weekly Downloads

A zero-boilerplate, responsive Cupertino bottom sheet kit for Flutter. Clean header, drag physics, keyboard handling, and adaptive tablet presentation.

Repository (GitHub)
View/report issues

Topics

#bottom-sheet #cupertino #modal #sheet #responsive

License

MIT (license)

Dependencies

cupertino_icons, flutter

More

Packages that depend on adaptive_sheet