LineProgressView class

For consoles that can't redraw: prints state changes as they happen and a status line every interval.

Implemented types

Constructors

LineProgressView({Duration interval = const Duration(seconds: 30)})

Properties

hashCode → int
The hash code for this object.
no setterinherited
interval → Duration
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

finish(ProgressTracker tracker) → void
Leaves the final state on screen.
override
log(String message, ProgressTracker tracker) → void
Prints a message that stays in the scrollback (e.g. a job finished).
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
update(ProgressTracker t) → void
Called about once a second and after every state change.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited