DownloadProgressSession class
Constructors
- DownloadProgressSession.new({String initialLabel = '', int stepCount = 3})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
notifier
→ ValueNotifier<
DownloadProgressState> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
beginTask(
String label, {String? key, required int step}) → DownloadTaskToken -
dispose(
) → void -
endTask(
DownloadTaskToken token, {required bool success}) → void -
enqueueDownload<
T> (Future< T> action()) → Future<T> -
markFinished(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reserveTask(
String key, {required int step, String label = ''}) → DownloadTaskToken -
setStep(
int stepIndex, {String? label}) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited