bmap_map_fluttify 0.6.1 icon indicating copy to clipboard operation
bmap_map_fluttify: ^0.6.1 copied to clipboard

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

example/lib/main.dart

import 'package:bmap_map_fluttify/bmap_map_fluttify.dart';
import 'package:flutter/material.dart';
import 'package:foundation_fluttify/foundation_fluttify.dart';
import 'package:oktoast/oktoast.dart';

import 'map/map.screen.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await enableFluttifyLog(true);
  await BmapService.instance.init(iosKey: 'KryNE2jVLpf3tCYxpxnnc5wEjGyztvEf');
  runApp(MyApp());
}

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('BMaps examples')),
          backgroundColor: Colors.grey.shade200,
          body: MapDemo(),
        ),
      ),
    );
  }
}
1
likes
80
pub points
19%
popularity

Publisher

verified publisher iconfluttify.com

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

Homepage

Documentation

API reference

License

Icon for licenses.unknown (LICENSE)

Dependencies

bmap_core_fluttify, bmap_utils_fluttify, core_location_fluttify, flutter, foundation_fluttify, path_provider, uni_map_platform_interface

More

Packages that depend on bmap_map_fluttify