easy_google_maps 1.0.0+2

Flutter Android iOS

A new flutter plugin project.

example/lib/main.dart

import 'package:easy_google_maps_example/api_key.dart';
import 'package:flutter/material.dart';
import 'package:easy_google_maps/easy_google_maps.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Easy Google Maps'),
        ),
        body: EasyGoogleMaps(
          apiKey: kGoogleMapsApiKey,
          address: 'Infinite Loop, Cupertino, CA 95014',
          title: 'Apple Campus',
        ),
      ),
    );
  }
}