Skip to content

Latest commit

 

History

History
56 lines (47 loc) · 1.34 KB

README.md

File metadata and controls

56 lines (47 loc) · 1.34 KB

Settings UI for Flutter

pub package

Installing:

In your pubspec.yaml

dependencies:
  settings_ui: ^0.4.0
import 'package:settings_ui/settings_ui.dart';

Basic Usage:

      SettingsList(
        sections: [
          SettingsSection(
            title: 'Section',
            tiles: [
              SettingsTile(
                title: 'Language',
                subtitle: 'English',
                leading: Icon(Icons.language),
                onTap: () {},
              ),
              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