bmap_flutter 0.0.1+1 copy "bmap_flutter: ^0.0.1+1" to clipboard
bmap_flutter: ^0.0.1+1 copied to clipboard

PlatformAndroidiOS
unlisted

baidu map plugin

example/lib/main.dart

import 'package:bmap_flutter_example/index.dart';
import 'package:flutter/material.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  runApp(MyApp());
}

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

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      initialRoute: Index.routeName,
      routes: {Index.routeName: (_) => Index()},
    );
  }
}