commit | 74fc8c233b31ef3e41dbcc4b285076b21a7c565f | [log] [tgz] |
---|---|---|
author | Phil Quitslund <pq@users.noreply.github.com> | Tue Mar 28 14:04:58 2017 -0700 |
committer | Todd Volkert <tvolkert@users.noreply.github.com> | Tue Mar 28 14:04:58 2017 -0700 |
tree | ed56d4199c7bf4a5cd947558a325e74c46d591e6 | |
parent | 8ae6f90090c75042ebcfa503567f55fbd9968c21 [diff] |
Udpate to new io.stdin.supportsAnsiEscapes. (#5)
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.