搜索插件、代码仓与 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

所属分类

源码仓库

使用此插件的项目