commit | 8ae6f90090c75042ebcfa503567f55fbd9968c21 | [log] [tgz] |
---|---|---|
author | Michael Goderbauer <goderbauer@google.com> | Thu Mar 16 16:28:39 2017 -0700 |
committer | GitHub <noreply@github.com> | Thu Mar 16 16:28:39 2017 -0700 |
tree | c4a1a6325d5264966c5b774b250f8563b300f6b0 | |
parent | c5ecf6ab7063633d4635f6ad665f7008b4174b0b [diff] |
add ansiSupported (#4) * add ansiSupported * review comments
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.