TerminalProgressBar class

TerminalProgressBar represents the terminal taskbar progress (OSC 9;4).

Support depends on the terminal (e.g., Windows Terminal, iTerm2).

Constructors

TerminalProgressBar({required TerminalProgressBarState state, int value = 0})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state TerminalProgressBarState
The current state of the progress bar.
final
value int
The current value of the progress bar (0-100).
final

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