google_maps_api_flutter 0.0.1 copy "google_maps_api_flutter: ^0.0.1" to clipboard
google_maps_api_flutter: ^0.0.1 copied to clipboard

Integration of Google Maps API for Flutter

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_dotenv/flutter_dotenv.dart';
import 'package:google_maps_api_flutter_example/full_place_autocomplete_example.dart';

Future main() async {
  await dotenv.load(fileName: ".env");

  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'GoogleMapsApi Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const FullPlaceAutocompleteExample(),
    );
  }
}
2
likes
130
points
26
downloads

Publisher

verified publishernathanbrodin.com

Weekly Downloads

Integration of Google Maps API for Flutter

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, google_maps_flutter, http, json_annotation

More

Packages that depend on google_maps_api_flutter