Skip to main content

init

Function init 

Source
pub fn init(theme: MaterialTheme, cx: &mut App)
Expand description

Installs the application MaterialTheme, initializes MaterialRoot, and registers component keybindings when component features are enabled.

Call once per application before opening windows.