get_platform 0.0.3 copy "get_platform: ^0.0.3" to clipboard
get_platform: ^0.0.3 copied to clipboard

discontinued

A simple package to get the platform the app is running on, web include.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add get_platform

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  get_platform: ^0.0.3

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:get_platform/get_platform.dart';
3
likes
20
pub points
6%
popularity

Publisher

unverified uploader

A simple package to get the platform the app is running on, web include.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on get_platform