ProgressController class
Main Progress Controller ProgressController to handle Progress time
Constructors
- ProgressController.new({required Duration duration, Duration tickPeriod = const Duration(milliseconds: 1000), DateFormatN timeFormat = DateFormatN.SecMin})
Properties
- countDown → String
-
String getter countDown from
_countDown
no setter - duration → Duration
-
Duration value duration
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
pProgressController
↔ StreamController<
void> -
StreamController value pProgressController
getter/setter pair
-
progressStream
→ Stream<
void> -
Stream getter progressStream from
pProgressController.stream
no setter -
pTimeoutController
↔ StreamController<
void> -
StreamController value pTimeoutController
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tickPeriod → Duration
-
Duration value tickPeriod
final
- timeFormat ↔ DateFormatN
-
DateFormatN value timeFormat
getter/setter pair
-
timeoutStream
→ Stream<
void> -
Stream getter timeoutStream from
pTimeoutController.stream
no setter - timer → Timer
-
Timer getter timer from
_timer
no setter - valuePercent → double
-
double getter valuePercent from
_progress
no setter
Methods
-
dispose(
) → Future< void> - Future method dispose to cancelStreams and Timers
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
restart(
) → void - method restart to restart controller
-
start(
) → void - method start to initialize
-
stop(
) → void - method stop to Stop controller
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- smoothnessConstant → const double
- double const value smoothnessConstant