ProgressBar class
ProgressBar
Constructors
Properties
- callback ↔ Function?
-
getter/setter pair
- clear ↔ bool
-
getter/setter pair
- complete ↔ bool
-
getter/setter pair
- completeChar ↔ String
-
getter/setter pair
- curr ↔ int
-
getter/setter pair
- format ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- incompleteChar ↔ String
-
getter/setter pair
- lastDraw ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start ↔ DateTime
-
getter/setter pair
- total ↔ int
-
getter/setter pair
- width ↔ int
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
Map< String, String> ? tokens) → dynamic -
Method to render the progress bar with optional
tokens
to place in the progress bar'sformat
field. -
terminate(
) → dynamic - Terminates a progress bar.
-
tick(
{int len = 1, Map< String, String> ? tokens}) → dynamic -
"tick" the progress bar with optional
len
and optionaltokens
. -
toString(
) → String -
A string representation of this object.
inherited
-
update(
num ratio) → dynamic -
"update" the progress bar to represent an exact percentage.
The ratio (between 0 and 1) specified will be multiplied by
total
and floored, representing the closest available "tick." For example, if a progress bar has a length of 3 andupdate(0.5)
is called, the progress will be set to 1.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited