v5.4.4
google_api_headers
一個用於取得呼叫 Google API 所需標頭的 Flutter 外掛程式,適用於使用應用程式限制 API 金鑰的情況
31喜歡 7.2萬近 30 天下載160Pub 分數
Android
一個用於取得呼叫 Google API 所需標頭的 Flutter 外掛程式,適用於使用應用程式限制 API 金鑰的情況
以下為英文專案原文快照,最新內容請造訪 GitHub。
A Flutter plugin for getting the headers required to call Google APIs with an app restricted API key.
Add this to your project's pubspec.yaml file:
dependencies:
google_api_headers: ^5.4.1
Depending on the platform (iOS or Android), the function will return the required key and value pairs for calling Google APIs with keys that are restricted to an iOS or Android app.
import 'package:google_api_headers/google_api_headers.dart';
final headers = await GoogleApiHeaders().getHeaders();
依賴清單 6 項
{"sdk":"flutter"}^10.2.12.16.16.0.0{"sdk":"flutter"}1.0.5先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗