搜尋套件、儲存庫與 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'),
          ),
        ),
      ),
    ));

所屬分類

原始碼儲存庫

使用此套件的專案