platform_plus 1.0.3 copy "platform_plus: ^1.0.3" to clipboard
platform_plus: ^1.0.3 copied to clipboard

outdated

Platform Plus is a package for easily figuring out information about the platform your code is running on

example/main.dart

import 'package:platform_plus/platform_plus.dart';

void someCode() {
  if (platform.isAndroidNative) {
    // Do something
  } else if (platform.isAndroidWeb) {
    // Do something else
  }
}
13
likes
0
pub points
82%
popularity

Publisher

verified publisherrexios.dev

Platform Plus is a package for easily figuring out information about the platform your code is running on

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

browser_detector, flutter

More

Packages that depend on platform_plus