chalk library Null safety
// ChalkDart library
Classes
- Chalk
- Chalk - A Library for printing styled text to the console using ANSI control sequences. Documentation of the ANSI code system: https://en.wikipedia.org/wiki/ANSI_escape_code . References with detailed explainations of the various color models included here: https://en.wikipedia.org/wiki/HSL_and_HSV and https://en.wikipedia.org/wiki/HWB_color_model The complete history of the X11 color names (later used in css/svg also) https://en.wikipedia.org/wiki/X11_color_names .
Properties
- ansiColorDisabled → bool
-
Read only. Chalk does not look at it's value.
final
- chalk ↔ Chalk
-
Default global instance of chalk used for base call.
This can be set to a specific Chalk instance that would then serve
as basis for all calls.
read / write
- chalkUsedAnsiInclude → String
-
Read only, informational only.
Name of the ansi include file used
supports_ansi.dart
is the default, or the dart.libary.io versionsupports_ansi_io.dart
or the dart.library.html versionsupports_ansi_web.dart
.final - dartSupportsAnsiColor → bool
-
Read only. Chalk does not use it's value although in some
situation a user might use this to set the Chalk ansi color level
(or something) I have left it here only for completeness.
Within the common debug consoles this variable is essentially
worthless because they return FALSE from both VSCode debug console
and IntelliJ/Android Studio debug consoles.
(This is because dart just checks for 'xterm' string being present in
the 'TERM' environmental variable of the console..)
See https://github.com/dart-lang/sdk/issues/31606 and
https://github.com/dart-lang/sdk/issues/41770 for more info.
final