搜尋套件、儲存庫與 APP 分類

flutter_settings_ui 封面
套件詳情v3.1.0

flutter_settings_ui

幾分鐘內為 Flutter 應用建立原生設定。settings_ui 的分支。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
2萬
喜歡數
164
Pub 分數
150

安裝套件

flutter pub add flutter_settings_ui

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

一個 Flutter 套件,讓開發者能快速為他們的應用程式在多個平台建立原生風格的設定介面。此套件是原始 settings_ui 的分支,提供乾淨且可自訂的 UI 工具包,專為設定畫面設計。支援 Android、iOS、Web、macOS、Windows 與 Linux,確保無論裝置為何,使用者體驗皆保持一致。該套件簡化了開關、滑桿、清單與區段的實作,非常適合用於應用程式設定、偏好設定與帳戶管理。

適用情境

  • 應用設定螢幕
  • 使用者偏好管理
  • 帳戶設定面板
  • 深色模式切換 UI
  • 語言選擇介面

主要特色

  • 原生外觀
  • 跨平台相容性
  • 可自定義的區塊
  • 對開關和滑塊的支援
  • 與現有 Flutter 項目輕鬆整合

適合對象

  • 開發移動或桌面應用程式的開發者
  • 需要快速UI原型設計的團隊
  • 需要大量使用者設定的應用程式
  • Flutter 初學者探索 UI 組件

使用建議

  • 限於基本設定佈局
  • 可能需要自訂樣式以實現複雜設計
  • 依賴上游分叉的穩定性
  • 不適合高度動態或資料驅動的表單

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Settings UI for Flutter

Pub Version

This project was archived, however since the original package seems unmaintained yet, I reactivated this package together with some improvements and changes. Please checkout the changelog for all changes.

Installing:

In your pubspec.yaml

dependencies:
  flutter_settings_ui: ^3.0.0
import 'package:flutter_settings_ui/flutter_settings_ui.dart';

Basic Usage:

      SettingsList(
        sections: [
          SettingsSection(
            title: const Text('Section'),
            tiles: [
              SettingsTile(
                title: const Text('Language'),
                description: const Text('English'),
                leading: const Icon(Icons.language),
                onPressed: (BuildContext context) {},
                ),
              SettingsTile.switchTile(
                initialValue: false,
                title: const Text('Use fingerprint'),
                leading: const Icon(Icons.fingerprint),
                onToggle: (bool value) {},
              ),
            ],
          ),
        ],
      )


Settings UI supports dark mode:


Contributing

Contributions are welcome! If you're new to the project's tech stack or need a refresher, here are some resources to get started:

Feel free to explore these resources to gain familiarity with the project's tech stack and contribute effectively.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details

所屬分類

原始碼儲存庫

使用此套件的專案