pub fn current_platform(headless: bool) -> Rc<dyn Platform>
Returns the current desktop platform implementation.