petalmaps_ohos 0.0.1
petalmaps_ohos: ^0.0.1 copied to clipboard
Flutter 花瓣地图(PetalMaps)插件,支持 HarmonyOS/OpenHarmony。调起地图首页、地点搜索、地点详情、路线规划、导航、打车等能力。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add petalmaps_ohosThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
petalmaps_ohos: ^0.0.1Alternatively, 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:petalmaps_ohos/petalmaps_ohos.dart';