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