platform_ex 0.0.1
platform_ex: ^0.0.1 copied to clipboard

Platform check

platform_ex #

Utility to check flutter runtime platform (Web, Android, iOS, MacOS, Windows, Linux, Fuchsia)

Useage #

PlatformEx.isWeb;
PlatformEx.isAndroid;
PlatformEx.isIOS;
PlatformEx.isMacOS;
PlatformEx.isWindows;
PlatformEx.isFuchsia;
PlatformEx.isLinux;