flutter_bmflocation 2.0.0-nullsafety.0 flutter_bmflocation: ^2.0.0-nullsafety.0 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:
With Flutter:
$ 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: ^2.0.0-nullsafety.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
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';