map_provider 1.0.1

  • Readme
  • Changelog
  • Example
  • Installing
  • 50

map_provider #

A plugin for showing static map and calling Google Map application when clicked

Getting Started #

Add into your pubspec.yml

  map_provider: ^1.0.0

Then install

$ flutter packages get

Add to your project

import 'package:map_provider/map_provider.dart';

Simple HOW-TO #

import 'package:map_provider/map_provider.dart;

class MyMapView extends StatefulWidget{

class _MyMapViewState extends State<MyMapView>{
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        body: Center(
          child: Container(
              height: 200,
              width: 200,
              child: MapProvider(
                google_api_key: '' , ///your_api_key_here, otherwise this won\'t work
                width: 200,
                height: 200,
                latitude: '15.79286',
                longitude: '27.94013',
                zoom: 1,

1.0.1 #

  • Change Readme and deleting unused package

1.0.0 #

  • Initial Release


map_provider_example #

Demonstrates how to use the map_provider plugin.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  map_provider: ^1.0.1

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:map_provider/map_provider.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Jan 25, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.4
  • Flutter: 1.12.13+hotfix.5

Health suggestions

Fix lib/map_provider.dart. (-1 points)

Analysis of lib/map_provider.dart reported 2 hints:

line 6 col 16: Name non-constant identifiers using lowerCamelCase.

line 13 col 46: Name non-constant identifiers using lowerCamelCase.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
url_launcher ^5.0.2 5.4.1
Transitive dependencies
collection 1.14.11 1.14.12
flutter_web_plugins 0.0.0
meta 1.1.8
plugin_platform_interface 1.0.1
sky_engine 0.0.99
typed_data 1.1.6
url_launcher_macos 0.0.1+2
url_launcher_platform_interface 1.0.5
url_launcher_web 0.1.0+2
vector_math 2.0.8
Dev dependencies