pub fn default_icon<T: DioxusIconTrait>() -> Result<T>Expand description
Provides the default icon of the app.
On Windows this prefers the icon embedded as resource id IDI::APPLICATION
(32512) by dx’s bundler, falling back to a generic Dioxus icon when the
resource is missing (e.g. when running with plain cargo run). On all
other platforms the bundled fallback icon is returned directly.