longpress_popup 1.5.4 longpress_popup: ^1.5.4 copied to clipboard
A plugin for flutter_map to show a customisable popup Widget when a marker is long pressed. Also provides methods to show/hide popups.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add longpress_popup
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
longpress_popup: ^1.5.4
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:longpress_popup/extension_api.dart';
import 'package:longpress_popup/fluttermap_markerpopup.dart';