PlatformExtensions extension
当前系统
- on
Properties
- isAndroid → bool
-
Available on BuildContext, provided by the PlatformExtensions extension
检查当前系统是否为 Androidno setter - isFuchsia → bool
-
Available on BuildContext, provided by the PlatformExtensions extension
检查当前系统是否为 Fuchsiano setter - isIOS → bool
-
Available on BuildContext, provided by the PlatformExtensions extension
检查当前系统是否为 iOSno setter - isLinux → bool
-
Available on BuildContext, provided by the PlatformExtensions extension
检查当前系统是否为 Linuxno setter - isMacOS → bool
-
Available on BuildContext, provided by the PlatformExtensions extension
检查当前系统是否为 MacOSno setter - isWindows → bool
-
Available on BuildContext, provided by the PlatformExtensions extension
检查当前系统是否为 Windowsno setter - platform → TargetPlatform
-
Available on BuildContext, provided by the PlatformExtensions extension
获取当前平台no setter