Detect whether the current terminal supports color.
This is a dart port of the npm supports-color package.
Add this to your package's pubspec.yaml file:
dependencies: supports_color: "^0.1.1"
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.1.1||Oct 17, 2014|
|0.1.0||Oct 16, 2014|
We analyzed this package, and provided a score, details, and suggestions below.
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Detected platforms: Flutter, server
all of the above
Changelog entries help clients to follow the progress in your code.