ProgressItem class

Constructors

ProgressItem({required Future<void> process(), void onCancel()?, void onError(dynamic error)?, void onDone()?, String processText = "Processing", String errorText = "Process Failed!", String? successText})

Properties

errorText String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
onCancel ↔ void Function()?
getter/setter pair
onDone ↔ void Function()?
getter/setter pair
onError ↔ void Function(dynamic error)?
getter/setter pair
process Future<void> Function()
getter/setter pair
processText String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
successText String?
getter/setter pair

Methods

cancel() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() → void
toString() String
A string representation of this object.
inherited

Operators

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