CountUpConfig class
CountUpConfig
class contains configuration options for
count up durations.
Constructors
- CountUpConfig({required Duration initialDuration, Duration? maxDuration})
-
CountUpConfig
class contains configuration options for count up durations.const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- initialDuration → Duration
-
initial duration countup start
final
- isInfinity → bool
-
no setter
- maxDuration → Duration?
-
if the maxDuration is null
countUp will infinity
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{Duration? initialDuration, Duration? maxDuration}) → CountUpConfig -
isDone(
Duration duration) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
covariant CountUpConfig other) → bool -
The equality operator.
override
Constants
- defaultConfig → const CountUpConfig