Base Map Osm Google

Capturas

Forma de uso

Crear un nuevo proyecto y agregar el package

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

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Basemap OSM Google',
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Ejemplo Base Map OSM - Google'),
        ),
        body: Column(
          children: [
            BaseMapOsmGoogle(typeMap: TypeMap.osm),
          ],
        ),
      ),
    );
  }
}