CharacterProgressPrinter<N extends num> class
Prints a character or string for each event. A dot is the default.
Constructors
-
CharacterProgressPrinter(ProgressFuture<
Object?, N> future, {String? eventToString(ProgressEvent<N> event)?, bool newline = true}) - Prints a character or string for each event. A dot is the default.
Properties
-
eventToString
→ String? Function(ProgressEvent<
N> event)? -
The callback to produce a character or a string instead of the default dot
for event.
final
-
future
→ ProgressFuture<
Object?, N> -
The future to track progress.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- newline → bool
-
Whether to add a newline character when the future completes.
final
- 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