overlay_manager 0.0.3 overlay_manager: ^0.0.3 copied to clipboard
Group and manage easily flutter overlays: Create a new overlay, arrange it in z-index order, check, close, and capture the return value when closed.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add overlay_manager
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
overlay_manager: ^0.0.3
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:overlay_manager/overlay_manager.dart';