pub trait Theme {
// Required method
fn apply(&self, style: &mut Style);
}
Expand description
Global theme that can modify widget styles.
Themes provide a simple hook to set initial colors and other stylistic properties for widgets. Applications can implement this trait to provide bespoke looks across the UI.