get_platform 0.0.3

Flutter Android iOS web

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

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  get_platform: ^0.0.3

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:get_platform/get_platform.dart';
3
likes
90
pub points
44%
popularity

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

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

simon.braillard@gmail.com

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on get_platform