-
Notifications
You must be signed in to change notification settings - Fork 0
Home
jonikay edited this page Jul 8, 2026
·
2 revisions
A customizable slide-up bottom sheet presentation for Flutter. Supports arbitrary height detents, a draggable grabber, an optional dimming scrim, keyboard avoidance, rotation, scroll coordination, and full layout-metric overrides — across iOS, Android, web, macOS, Windows, and Linux.
- Detents — snap points: system ratios, exact heights, auto-sizing
- Layout-Configuration — sheet width, height caps, grabber geometry
- Presentation-Manager — the immutable config holder
- Programmatic-Control — controller & scope for snap / dismiss
- Gesture-Handling — drag, scroll coordination, keyboard avoidance
- Callbacks — lifecycle hooks
Add to your pubspec.yaml:
dependencies:
bottom_shelfer:
git:
url: https://github.com/jonikay89/BottomShelfer_flutter.gitimport 'package:flutter/material.dart';
import 'package:bottom_shelfer/bottom_shelfer.dart';
final manager = BottomShelferPresentationManager(
detents: [
BottomShelferDetent.medium(context),
BottomShelferDetent.large(context),
],
selectedDetentIndex: 0,
);
showBottomShelfer(
context: context,
manager: manager,
builder: (context) => Container(
color: Colors.white,
child: const Center(child: Text('Hello sheet')),
),
);- Flutter 3.22+ / Dart 3.4+