flutter_bmflocation 1.0.4 flutter_bmflocation: ^1.0.4 copied to clipboard
BaiduMapLocation plugin for flutter. This plugin provides a cross-platform (iOS, Android) API to request location.
Use this package as a library
Depend on it
Run this command:
$ flutter pub add flutter_bmflocation
This will add a line like this to your package's pubspec.yaml (and run an implicit
flutter pub get):
dependencies: flutter_bmflocation: ^1.0.4
Alternatively, your editor might support or
flutter pub get. Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:flutter_bmflocation/bdmap_location_flutter_plugin.dart'; import 'package:flutter_bmflocation/flutter_baidu_location.dart'; import 'package:flutter_bmflocation/flutter_baidu_location_android_option.dart'; import 'package:flutter_bmflocation/flutter_baidu_location_ios_option.dart';