hold_on_pop 0.0.5
hold_on_pop: ^0.0.5 copied to clipboard
A Flutter package that provides a widget that shows a popup when the user presses their finger and closes when they release it, similar to the functionality in Instagram.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add hold_on_pop
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
hold_on_pop: ^0.0.5
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:hold_on_pop/hold_on_pop.dart';