v3.0.0+1
maps_launcher
一個簡單的 Flutter 外掛,可在所有平台開啟地圖應用程式(或瀏覽器)。
472喜歡 1.4萬近 30 天下載150Pub 分數
AndroidiOSWebmacOSWindowsLinux
一個簡單的 Flutter 套件,可在所有平台開啟地圖應用程式(或瀏覽器)。
以下為英文專案原文快照,最新內容請造訪 GitHub。
A simple package that uses url_launcher to launch the maps app with the proper scheme on all platforms.
On iOS, map links as specified by Apple are launched. On Android, the geo intent is used as documented here. For web and other platforms, the plugin will simply launch Google Maps.
import 'package:maps_launcher/maps_launcher.dart';
...
MapsLauncher.launchQuery('1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA');
MapsLauncher.launchCoordinates(37.4220041, -122.0862462);
Consult the table provided by the url_launcher documentation to see which SDK versions maps_launcher supports.
依賴清單 6 項
{"sdk":"flutter"}{"sdk":"flutter"}^6.2.6>=0.5.1 <2.0.0{"sdk":"flutter"}^2.0.1先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗