搜索插件、代码仓与 APP 分类

插件详情v2.0.2

open_settings

Android 和 iOS 上打开各种设置屏幕的最完整的 Flutter 插件包

AndroidiOS
近 30 天下载
9480
喜欢数
211
Pub 分数
150

安装插件

flutter pub add open_settings

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

open_settings 包是一个全面的 Flutter 插件,可在 Android 和 iOS 设备上实现无缝导航至各种系统设置屏幕。它提供了一个简单的 API,可打开特定的设置页面,如 Wi-Fi、蓝牙、位置等,通过减少手动导航来提升用户体验。该插件广泛应用于需要快速访问设备配置的应用程序中。它在两个平台上均支持,并保持一致的行为,且持续进行积极更新。

适合场景

  • 打开Wi-Fi设置
  • 打开蓝牙设置
  • 打开位置服务
  • 打开应用权限
  • 重定向用户到设备设置

主要特点

  • 跨平台支持(Android 和 iOS)
  • 用于打开特定设置的简单 API
  • 支持多种系统设置
  • 轻量且可靠
  • 活跃维护和更新

适合对象

  • 需要快速访问设备设置的应用程序
  • 用户引导流程
  • 权限管理接口
  • 设备配置工具
  • 故障排除指南

使用建议

  • 需要适当的平台权限
  • 行为在不同操作系统版本之间可能略有差异
  • 仅限系统设置
  • 不直接处理设置更改
  • 某些设备可能需要用户确认

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

open_settings

pub package

The most complete flutter plugin packages for open various settings screen in Android and Ios

For Android:

this plugin currently support jumping to :

  • Wifi
  • Data Roaming
  • Location Source
  • App Settings
  • Bluetooth
  • Notification
  • Security
  • Sound
  • Settings
  • Date
  • Display
  • Accessibility
  • Add Account
  • Airplane Mode
  • Apn
  • Application Details
  • Application Development
  • App Notification Bubble
  • App Notification
  • Search
  • Battery Saver
  • Biometric Enroll
  • Captioning
  • Cast
  • Channel Notification
  • Action Condition Provider
  • Data Usage
  • Device Info
  • Dream
  • Hard Keyboard
  • Home
  • Ignore Background Data Restrictions
  • Ignore Battery Optimization
  • Input Method
  • Input Method Subtype
  • Internal Storage
  • Locale
  • Manage All Applications
  • Manage All Files Access Permission
  • Manage Application
  • Manage App All Files Access Permission
  • Manage Default Apps
  • Manage Overlay Permission
  • Manage Unknown App Source
  • Manage Write
  • Memory Card
  • Network Operator
  • Nfc
  • Night Display
  • Notification Assistant
  • Notification Listener Detail
  • Action Notification Listener
  • Notification Policy Access
  • Action Print
  • Privacy
  • Process Wifi Easy Connect Uri
  • Quick Access Wallet
  • Quick Launch
  • Show Regulatory Info
  • Show Work Policy Info
  • Storage Volume Access
  • Sync
  • Usage Access
  • User Dictionary
  • Voice Controll Airplane Mode
  • Voice Controll Battery Saver Mode
  • Voice Controll Do Not Disturb Mode
  • Voice Input
  • Vpn
  • Vr Listener
  • Webview
  • Wifi Add Networks
  • Wifi Ip
  • Wireless
  • Zen Mode Priority

Setting Screen.

For iOS:

this plugin currently work with android. I would be happy if someone can complete the code for the ios section because I did not work with swift myself.

If you can find any workaround or enhancement, pull requests are always welcome.

Usage

To use this plugin, add open_settings as a dependency in your pubspec.yaml file.

For iOS, It will always go to app setting.

Example
import 'package:flutter/material.dart';
import 'package:open_settings/open_settings.dart';

void main() => runApp(MaterialApp(
      home: Scaffold(
        body: Center(
          child: ElevatedButton(
            onPressed: () {
                OpenSettings.openWIFISetting();
              },
            child: Text('Wi-fi Settings'),
          ),
        ),
      ),
    ));

所属分类

源码仓库

使用此插件的项目