components/flutterstart_cli/src/render/welcome_banner
library
Functions
-
ansiHeading(String text, {required bool color})
→ String
-
Blue-bold heading used for the doctor report's first line.
-
ansiStatus(String token, {required bool color})
→ String
-
Colours a doctor status token: green = good, red = bad, yellow = anything
else (unknown / n/a). Returns
token unchanged when color is false, so
callers stay plain in tests and pipes.
-
doctorBrandHeader({required bool color})
→ String
-
Compact one-line brand header for subcommands (e.g.
doctor).
-
stdoutSupportsColor()
→ bool
-
True only when stdout is a real terminal that opts into ANSI (respects the
NO_COLOR convention and TERM=dumb). Pipes, files, and CI get plain text.
-
welcomeBanner({required bool color})
→ String
-
The full launch screen shown for a bare
flutterstart invocation.