Skip to content

Releases: flutterbysunny/smart_bottom_sheet

v1.0.2 — Backdrop, SheetTheme & SideSheet

31 May 07:02

Choose a tag to compare

v1.0.2

✨ New Features

  • 🌫️ SheetBackdrop — dark, light, frosted, none backdrop styles
  • 🎨 SheetTheme — app-wide default config via InheritedWidget
  • ↔️ SideSheet — slides in from left or right side of screen
  • 🎯 SheetHandle integrated — all sheets use custom handle styles
  • 🔔 barrierColor — all sheets respect backdrop configuration
  • 📊 Event log — callbacks demo in example app

🛠️ Improvements

  • All sheets auto-pick SheetTheme config
  • _resolveBarrierColor consistent across all sheets
  • 33 unit + widget tests passing

📦 Installation

```yaml
dependencies:
smart_bottom_sheet: ^1.0.2
```

💡 Usage — SheetTheme

```dart
SheetTheme(
config: SheetConfig(
handleStyle: HandleStyle.pill,
backdrop: SheetBackdrop(
style: BackdropStyle.frosted,
blurStrength: 10,
opacity: 0.2,
),
),
child: MaterialApp(...),
)
```

💡 Usage — SideSheet

```dart
SideSheet.show(
context,
title: 'Filters',
direction: SideSheetDirection.right,
child: FilterWidget(),
);
```

🔗 Links

v1.0.1 — Haptic Feedback, Callbacks & Stacked Sheets

30 May 10:39

Choose a tag to compare

v1.0.1

✨ New Features

  • 📳 Haptic Feedback — light, medium, heavy impact on each snap position
  • 🔔 CallbacksonOpen, onClose, onSnap in SheetController
  • 📜 Nested Scroll Support — inner list scrolls when sheet is fully expanded
  • 🗂️ SheetStackManager — push/pop sheets on top of each other like Apple Maps
  • 🎨 Custom Handle StylesdefaultHandle, pill, pulse, arrow, none
  • 🎨 Handle Color — custom color support via SheetConfig

🛠️ Improvements

  • Cleaner snap logic with _updateSnap helper
  • Full dartdoc documentation on all public APIs
  • 26 unit + widget tests passing

📦 Installation

```yaml
dependencies:
smart_bottom_sheet: ^1.0.1
```

🔗 Links

Initial Release

30 May 10:08

Choose a tag to compare

Features

  • ✅ Action Menu Sheet — quick actions with icons & destructive styling
  • ✅ Snap Sheet — 3 snap points with rubber-band physics
  • ✅ Form Sheet — keyboard-aware inline forms with validation
  • ✅ Confirm Sheet — thumb-friendly AlertDialog replacement
  • ✅ Stepper Sheet — multi-step flow with animated transitions
  • ✅ Rating Sheet — animated star picker with comment field

Installation

dependencies:
  smart_bottom_sheet: ^1.0.0

Links