Clone this repo:
  1. fd0961d Bump version (#20) by Todd Volkert · 11 months ago master
  2. fcf5403 Add operatingSystemVersion (#19) by Felix Angelov · 11 months ago
  3. c368ca9 2.2.0 release (#18) by Todd Volkert · 1 year, 11 months ago
  4. 3d55897 Update .gitignore to new `dart_tool` pub cache (#15) by BC Ko · 2 years, 1 month ago
  5. 952e2e2 Update sdk constraint to <2.0.0. Drop '-dev.infinity' (#14) by Alexander Aprelev · 2 years, 5 months ago


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.