modal_top_sheet 0.0.2
modal_top_sheet: ^0.0.2 copied to clipboard
A Flutter package for creating top-aligned modal sheets. The effect is like [AppBar] dropdown for example.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add modal_top_sheet
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
modal_top_sheet: ^0.0.2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:modal_top_sheet/modal_top_sheet.dart';