flutter_map_marker_popup 2.0.0 copy "flutter_map_marker_popup: ^2.0.0" to clipboard
flutter_map_marker_popup: ^2.0.0 copied to clipboard

outdated

A plugin for flutter_map to show a customisable popup Widget when a marker is tapped. Also provides methods to show/hide popups.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_map_marker_popup_example/popup_option_controls.dart';

void main() => runApp(MyApp());

/// NOTE:
/// There are three main files:
///  - popup_option_controls.dart: This is just for toggling the different
///    options.
///  - map_with_popups.dart: This is where the actual map is and where you
///    can see an example of using the PopupMarkerLayerWidget.
///  - simple_map_with_popups.dart: A simplified example of using the
///    PopupMarkerLayerWidget.
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Marker Popup Demo',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: PopupOptionControls(),
    );
  }
}
120
likes
0
pub points
96%
popularity

Publisher

verified publisherbalanci.ng

A plugin for flutter_map to show a customisable popup Widget when a marker is tapped. Also provides methods to show/hide popups.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

animated_stack_widget, flutter, flutter_map, latlong2

More

Packages that depend on flutter_map_marker_popup