cross_platform

Build Pub GitHub GitHub stars

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.

Libraries

cross_platform