ProgressTrackerBase class abstract
- Inheritance
-
- Object
- StateCounter
- ProgressTrackerBase
- Implementers
Properties
- context → ReactiveContext
-
Override this method to use a custom context.
no setterinherited
- count → double
-
no setterinherited
- done → Future
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Delegates the creation of a key to the wrapped SingleValue. This is optional
no setterinherited
- log → Logger
-
finalinherited
- percent → double
-
Returns a percent completed, between 0 and 100
no setter
- percentText → String
-
Returns the completed percent in textual form, with a % sign
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- task ↔ String?
-
Stores what's currently being worked on
getter/setter pair
- total → double
-
The total number of units working towards. For percent/ratio based tracking, this will be 100
no setter
Methods
-
complete(
) → void - Marks this counter as complete
-
decrement(
) → void -
inherited
-
finishTask(
double progress, {String? newTask}) → void -
finishTaskRatio(
double progress, {String? newTask}) → void -
increment(
[double? amount]) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
predict(
double amount, {Duration? step}) → Future -
Increments the value by a certain amount over a duration using an exponential backoff.
Helps prevent large pauses while operations are / warming up.
inherited
-
reset(
) → void -
inherited
-
set(
double value) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
double amount) → void -
override
-
updateRatio(
double ratio) → void -
inherited
-
updateTask(
String newTask) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited