brander_map 1.0.2 copy "brander_map: ^1.0.2" to clipboard
brander_map: ^1.0.2 copied to clipboard

Brander map, ease widget with many optional params, like cluster or user marker and other.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:brander_map/brander_map.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Example(),
    );
  }
}

class Example extends StatefulWidget {
  @override
  _ExampleState createState() => _ExampleState();
}

class _ExampleState extends State<Example> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Map Example'),
      ),
      body:
      BranderMap(
        mapMarkers: [
          MapMarker(id: 1, latitude: 51.062118654348524, longitude: 36.208662981717076),
          MapMarker(id: 2, latitude: 51.06375095181089, longitude: 36.20806216689639),
        ],
        openSettingsBottomSheetContent: OpenSettingsBottomSheetContent(),
        userMarker: BitmapDescriptor.defaultMarker,
      ),
    );
  }
}
0
likes
80
pub points
2%
popularity

Publisher

unverified uploader

Brander map, ease widget with many optional params, like cluster or user marker and other.

Homepage

Documentation

API reference

License

MIT (LICENSE)

Dependencies

cupertino_icons, daily_extensions, flutter, flutter_animarker, flutter_bloc, flutter_localizations, geolocator, google_maps_cluster_manager, google_maps_flutter, permission_handler

More

Packages that depend on brander_map