bmap_flutter 0.0.1+1 bmap_flutter: ^0.0.1+1 copied to clipboard
baidu map plugin
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()},
);
}
}