cross_platform 1.0.0 cross_platform: ^1.0.0 copied to clipboard
Cross platform package that unifies the work with Platform and wrapps dart:io Platform and dart:html to determine platform of the host machine.
cross_platform #
Cross platform package that unifies the work with Platform and wrapps dart:io Platform and dart:html to determine platform of the host machine.
Getting Started #
-
Platform.isWeb
- gets whether host platform is web based or not. -
Platform.isAndroid
- gets whether this app is running on Android or not. -
Platform.isIOS
- gets whether this app is running on iOS or not. -
Platform.isMobile
- gets whether this app is running on iOS/Android or not.
Feature requests and Bug reports #
Feel free to post a feature requests or report a bug here.