Expand description
Core theme types: ThemeData and the RosaceTheme trait.
Structs§
- Animation
Config - Global animation policy (theme-level). Toggle-style widgets
(Switch, Checkbox, Radio) and other transitions read this: when
enabledis false everything snaps; otherwise they ease overduration_ms. Set it once on the theme and every widget follows. - AppBar
Style - Per-widget platform styling for
AppBar(D105 Phase 23 Step 3 — the proof-of-concept widget for the whole per-widget-Style-struct model). Per-instance builder calls on the widget itself (.height(..),.traffic_lights()) override these theme defaults; a widget that doesn’t set them falls back to whatever the active theme says. - Theme
Data - All design tokens bundled together as a single snapshot.
Enums§
- Title
Align - Where an [
AppBar](rosace_widgets equivalent — seerosace-widgets) positions its title relative to the bar, per D105.
Traits§
- Rosace
Theme - Implement this trait to supply a custom theme to the framework.