bool atLeastiOSVersion(double number) { final os = OS.instance; if (os is iOS) { final version = DarwinVersion.number(number); return os.atLeastVersion(version); } return false; }