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

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/map_with_separate_popups.dart';

import 'popup_option_controls.dart';
import 'popup_outside_of_map.dart';
import 'selected_marker_builder.dart';
import 'simple_map_with_popups.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Marker Popup Demo',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: const PopupOptionControls(),
      routes: <String, WidgetBuilder>{
        PopupOptionControls.route: (context) => const PopupOptionControls(),
        SimpleMapWithPopups.route: (context) => const SimpleMapWithPopups(),
        SelectedMarkerBuilder.route: (context) => const SelectedMarkerBuilder(),
        PopupOutsideOfMap.route: (context) => const PopupOutsideOfMap(),
        MapWithSeparatePopups.route: (context) => const MapWithSeparatePopups(),
      },
    );
  }
}
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, provider

More

Packages that depend on flutter_map_marker_popup