Files
packages.dart/deprecated/easy_google_maps/example/README.md
2026-01-15 14:38:46 -08:00

32 lines
710 B
Markdown

# easy_google_maps_example
Demonstrates how to use the easy_google_maps plugin.
## Getting Started
```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',
),
),
);
}
}
```