platform 3.1.4 copy "platform: ^3.1.4" to clipboard
platform: ^3.1.4 copied to clipboard

A pluggable, mockable platform information abstraction for Dart.

Pub

A generic platform abstraction for Dart.

Like dart:io, package:platform supplies a rich, Dart-idiomatic API for accessing platform-specific information.

package:platform provides a lightweight wrapper around the static Platform properties that exist in dart:io. However, it uses instance properties rather than static properties, making it possible to mock out in tests.

92
likes
140
pub points
100%
popularity

Publisher

verified publisherflutter.dev

A pluggable, mockable platform information abstraction for Dart.

Repository (GitHub)
View/report issues
Contributing

Topics

#information #platform

Documentation

API reference

License

BSD-3-Clause (LICENSE)

More

Packages that depend on platform