ChildProgress class abstract

An abstract class serving as a base for various types of progress trackers.

This class standardizes the interface for all progress tracking mechanisms, facilitating the creation of composite progress trackers, such as ParentProgress, which may aggregate multiple progress updates from diverse sources.

Features include:

  • A percentageNotifier that observers can listen to for real-time progress updates. This notifier supports synchronous UI updates and inter-process communication.
  • An optional uniqueName that helps in identifying instances when debugging or logging, especially useful when multiple trackers operate concurrently.

ChildProgress is designed to be extended by specific progress tracking implementations like FictionalProgress or RationalProgress, allowing ParentProgress to uniformly handle diverse progress sources. It ensures that ParentProgress can interact with any progress tracker that extends this class, using their notifiers and names for efficient progress management and tracking.

Implementers

Constructors

ChildProgress({String? uniqueName})

Properties

hashCode int
The hash code for this object.
no setterinherited
percentageNotifier ValueNotifier<int>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uniqueName String?
getter/setter pair

Methods

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

Operators

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