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