Expand description
Settings editor module for managing application configuration.
This module provides a hierarchical settings interface with the following structure:
SettingsEditor (Main view)
├── TopBar (Back button, "Settings" title)
├── StackNavigationBar (Category tabs: General | Libraries | Intermissions)
└── CategoryEditor (Embedded, shows settings for selected category)
├── SettingRow (One for each setting in the category)
│ ├── Label (Setting name)
│ └── SettingValue (Current value, can be tapped to edit)
└── BottomBar (Add Library button for Libraries category)§Components
- SettingsEditor: Top-level view with navigation bar and category editor
- CategoryNavigationBar: Horizontal bar with category tabs
- CategoryEditor: Embedded editor for a specific category’s settings
- SettingRow: Individual setting with label and value
- SettingValue: Interactive value display that opens editors/menus
- LibraryEditor: Specialized editor for library settings
§Event Flow
When a setting is modified, the CategoryEditor directly updates context.settings,
providing immediate feedback. Settings are persisted to disk when the settings editor
is closed.
Modules§
- bottom_
bar 🔒 - category 🔒
- category_
button 🔒 - category_
editor 🔒 - category_
navigation_ 🔒bar - category_
provider 🔒 - library_
editor 🔒 - setting_
row 🔒 - setting_
value 🔒
Structs§
- Category
Button - A single category button that renders itself with background and text.
- Category
Editor - A view for editing category-specific settings.
- Category
Navigation Bar - Horizontal navigation bar displaying category tabs.
- Setting
Row - A row in the settings UI that displays a setting label and its corresponding value.
- Setting
Value - Represents a single setting value display in the settings UI.
- Settings
Category Provider - Navigation provider for settings categories.
- Settings
Editor - Main settings editor view.
- Settings
Editor Bottom Bar - Reusable bottom bar component for settings editor views
Enums§
- Bottom
BarVariant - Defines the layout variant for the settings editor bottom bar
- Category
- Categories of settings available in the settings editor.
- RowKind
- Toggle
Settings