Expand description
App-wide default post-root wrapper.
Stored in app_state by extensions (notably the debug inspector)
that want to splice a wrapper widget around every window’s root
without per-window opt-in. WindowManager::create_window looks
this up after invoking the user’s root_builder, before computing
modal focus targets.
Per-window WindowConfig::post_root overrides this default for
that window only — useful when a particular window opts out of the
wrapper or wants a different one.
Structs§
- Default
Post Root - Closure that runs after each window’s
root_builderreturns, wrapping the user’s root widget. Stored inapp_stateso it is shared across every window the app opens at runtime.