Site icon Flutter Packages | Pub dev Packages – Flutter Mobile App World

Create native settings for Flutter app in a minutes

Settings UI for Flutter

Installing:

In your pubspec.yaml

dependencies:
  settings_ui: ^1.0.1
import 'package:settings_ui/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

Settings UI for Flutter source code on GitHub

Exit mobile version