system_settings
Flutter 插件,用於在 iOS 和 Android 上開啟系統和應用設定。
用於在 iOS 和 Android 上開啟系統設定的 Flutter 外掛程式
以下為英文專案原文快照,最新內容請造訪 GitHub。
Flutter plugin to open system and app settings from an iOS and Android app.
On Android, this plugin supports various system setting pages as well as the app info and app notification settings page.
On iOS, this plugin will always open the app settings page, if any settings have been defined via a SettingsBundle.
If not, the settings app will open with the home page. Unfortunately, this is the only way that complies with Apple's guidelines for the App Store.
Add this to your package's pubspec.yaml file:
dependencies:
system_settings: 2.1.0
Next, import the package into your dart code:
import 'package:system_settings/system_settings.dart';
Example which opens the app settings:
Widget build(BuildContext context) {
return RaisedButton(
onPressed: SystemSettings.app,
child: Text('Open app settings'),
);
}
Have a bug or a feature request? Please first search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.
Code copyright 2020–2022 Florian Weinaug. Code released under the MIT license.
依賴清單 1 項
{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗