FLUTTER ECOSYSTEM

fweinaug/system_settings

用于在 iOS 和 Android 上打开系统设置的 Flutter 插件

系统设置 项目封面
Stars
11
Forks
87
最近推送(UTC)
2024年4月22日
项目状态
未归档
Florian Weinaug GitHub avatar
GITHUB User

Florian Weinaug ↗

Passionate about Flutter, React, .NET, C#, Xamarin, UWP, UX, Usability, Domain Driven Design, Clean Code ...

Hamburg, Germany官方网站 ↗
语言DartKotlinRubySwiftObjective-C

技术话题

此仓库发布的插件

使用的依赖

依赖清单 1 项
  • flutter{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

system_settings

Build pub package license

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.

Getting Started

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

Example which opens the app settings:

Widget build(BuildContext context) {
    return RaisedButton(
        onPressed: SystemSettings.app,
        child: Text('Open app settings'),
    );
}

Bugs and feature requests

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.

Copyright & License

Code copyright 2020–2022 Florian Weinaug. Code released under the MIT license.