ui_target_platform 1.1.0 copy "ui_target_platform: ^1.1.0" to clipboard
ui_target_platform: ^1.1.0 copied to clipboard

This package contains the enum UITargetPlatform, that has the same values than TargetPlatform with a new value web.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add ui_target_platform

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

dependencies:
  ui_target_platform: ^1.1.0

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:ui_target_platform/ui_target_platform.dart';
1
likes
130
pub points
3%
popularity

Publisher

unverified uploader

This package contains the enum UITargetPlatform, that has the same values than TargetPlatform with a new value web.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on ui_target_platform