platform 3.1.0 icon indicating copy to clipboard operation
platform: ^3.1.0 copied to clipboard

A pluggable, mockable platform abstraction for Dart.

Platform #

Build Status - Coverage Status - 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.

54
likes
110
pub points
100%
popularity

Publisher

unverified uploader

A pluggable, mockable platform abstraction for Dart.

Homepage

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

More

Packages that depend on platform