settings_ui
4.0.2, released 6 weeks ago by yako.dev
Cross‑platform settings UI widget set for Flutter
What it does
Provides native‑looking settings screens for iOS, Android, macOS, Windows, Linux, and web with split view support and a single API.
AI-written summary of version 4.0.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- When you need a consistent settings UI across multiple platforms
- When you want to avoid writing platform‑specific code for settings screens
Skip it when
- When you require highly custom UI that this package does not support
Strengths
- Native look on all platforms
- Split view for tablets and desktops
- Single API for all platforms
- Built on material_ui and cupertino_ui
Weaknesses
- Requires material_ui and cupertino_ui dependencies
- Not compatible with apps that still use flutter/material.dart
- Requires Flutter 3.44+
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 2
Add dependencies: settings_ui, material_ui, cupertino_ui. Ensure Flutter SDK >=3.44. No build_runner needed.
```dart
import 'package:settings_ui/settings_ui.dart';
SettingsList(
sections: [
SettingsSection(
title: Text('General'),
tiles: [
SettingsTile.switchTile(
title: Text('Enable notifications'),
leading: Icon(Icons.notifications),
onToggle: (value) => print(value),
initialValue: true,
),
],
),
],
);
```Alternatives
Packages that do the same job and could replace settings_ui.
- epub_view
Flutter widget for view EPUB documents on on Web, MacOs, Android and iOS. Based on dart-epub package.
78Compare - card_settings_ui
A Flutter widget library for building card‑based settings screens.
41Compare - babstrap_settings_screen
Flutter UI package to quickly display a settings screen with user cards and item groups.
40Compare
Works with
Packages commonly used together with settings_ui: ones it builds on, ones built on it, and its own family.