google_map_fluttify 0.1.1 copy "google_map_fluttify: ^0.1.1" to clipboard
google_map_fluttify: ^0.1.1 copied to clipboard

An `Google Map` Map Component, Powered By `Fluttify` Compiler, A Dart Bindings Generator For Native SDK.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:google_map_fluttify/google_map_fluttify.dart';
import 'package:oktoast/oktoast.dart';

import 'map/map.screen.dart';

Future<void> main() async {
  runApp(MyApp());

  // await enableFluttifyLog(false);

  await GoogleMapService.instance.init(
    iosKey: 'AIzaSyDCtRumqqf5IP3nrw1H9a3KNxhMfcEs8MU',
  );
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return OKToast(
      child: MaterialApp(
        home: Scaffold(
          appBar: AppBar(title: const Text('AMaps examples')),
          backgroundColor: Colors.grey.shade200,
          body: MapDemo(),
        ),
      ),
    );
  }
}
1
likes
20
pub points
0%
popularity

Publisher

unverified uploader

An `Google Map` Map Component, Powered By `Fluttify` Compiler, A Dart Bindings Generator For Native SDK.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

core_location_fluttify, flutter, foundation_fluttify, uni_map_platform_interface

More

Packages that depend on google_map_fluttify