egui::widgets

Function global_theme_preference_switch

Source
pub fn global_theme_preference_switch(ui: &mut Ui)
Expand description

Show a small button to switch to/from dark/light mode (globally).