Settings UI for Flutter
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: 'Section',
tiles: [
SettingsTile(
title: 'Language',
subtitle: 'English',
leading: Icon(Icons.language),
onPressed: (BuildContext context) {},
),
SettingsTile.switchTile(
title: 'Use fingerprint',
leading: Icon(Icons.fingerprint),
switchValue: value,
onToggle: (bool value) {},
),
],
),
],
)
Settings UI supports dark mode:
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details