Clone this repo:
  1. e9bb165 Update readme: drop broken coverage and CI badges (#40) by Kevin Moore · 10 months ago master
  2. 1ffad63 Remove package root (#38) by Michael Thomsen · 12 months ago
  3. 46abb2a Fix formatting (#36) by Greg Spencer · 1 year, 3 months ago
  4. 4b1a41e Switch to GitHub actions, update analysis options, fix analysis issues. (#35) by Greg Spencer · 1 year, 3 months ago
  5. 17e660f Fix sdk version constraint to no longer be pre-release (#34) by Greg Spencer · 1 year, 4 months ago


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.