CliUtils class
Utility class for CLI formatting and animations
Constructors
- CliUtils()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
clearAndPrint(
String message) → void - Clear line and print new message with proper spacing
-
clearLine(
) → void - Clear current line
-
printColored(
String text, {String color = 'white'}) → void - Print colored text
-
printError(
String message) → void - Print error message with red color
-
printHeader(
) → void - Print header
-
printInfo(
String message) → void - Print info message with blue color
-
printLoading(
String message) → void - Print loading message with blue color
-
printProgressBar(
int current, int total, {String label = ''}) → void - Print progress bar
-
printSeparator(
) → void - Print section separator
-
printSuccess(
String message) → void - Print success message with green color
-
printWarning(
String message) → void - Print warning message with yellow color
-
printWithSpacing(
String message) → void - Print with proper line spacing
-
showSpinner(
String message) → void - Show loading spinner