ProgressBar class

Constructors

ProgressBar({required ProgressBarFormatter formatter, required int total, int? width, String completeChar = '=', String incompleteChar = '-'})
Create a ProgressBar instance.

Properties

completeChar String
The character to use for the filled portion of the progress bar.
getter/setter pair
formatter ProgressBarFormatter
A function to format the progress bar text.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
incompleteChar String
The character to use for the empty portion of the progress bar.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
total int
The total value.
getter/setter pair
value int
The current value.
getter/setter pair
width int?
The width of the rendered progress bar.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render({bool force = false}) → void
Render the progress bar.
toString() String
A string representation of this object.
inherited
unrender() → void
Remove a rendered progress bar from the console.

Operators

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

Constants

formatterBarToken → const String