cross_platform 1.0.0
cross_platform: ^1.0.0

Flutter Android iOS web

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 #

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.

1
likes
110
pub points
29%
popularity

Publisher

marchdev.tk

Cross platform package that unifies the work with Platform and wrapps dart:io Platform and dart:html to determine platform of the host machine.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

flutter, universal_html

More

Packages that depend on cross_platform