holy_sheet 0.0.1 holy_sheet: ^0.0.1 copied to clipboard
A Flutter sheet & panel widget that's good as hell.
holy_sheet #
A Flutter sheet & panel widget that's good as hell.
Use it to build something like:
- Spotify's currently playing sheet
- Material Bottom Sheet, but from the top of the screen
- Apple's NFC / Apple Pay modals
HolySheet respects the following conventions:
- The sheet is always modal.
- The sheet is always draggable.
- The sheet passes its constraints to its child, which it then sizes using a
FractionallySizedBox
. - The sheet expects that all scrollable areas within itself respect the gesture arena and declare defeat when reasonable.
Install #
dependencies:
holy_sheet: ^0.0.1
Usage #
import 'package:holy_sheet/holy_sheet.dart';
// ... somewhere in your widget tree