FillingBar class
A normal bar that fills up when value is updated
Looks like this:
Loading : ████████████████████████████████████████.................... 673/1000 67.3% 0:00:13.28 / 0:00:06.45
Constructors
Properties
- desc ↔ String
-
getter/setter pair
- fill ↔ String
-
The character to used as fill
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- max ↔ int
-
getter/setter pair
- percentage ↔ bool
-
Percentage should be displayed or not
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale ↔ double
-
Scale of the bar relative to the terminal width
getter/setter pair
- space ↔ String
-
The chararcter to used as space
getter/setter pair
- time ↔ bool
-
Whether a timer should be present
getter/setter pair
- total ↔ int
-
getter/setter pair
- width ↔ int?
-
Width of the bar
getter/setter pair
Methods
-
autoRender(
) → void - Automatically updates the frame asynchronously
-
increment(
) → void - Increments the _current value
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
int n) → void - Updates the _current value to n
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited