ValueNotifierAdapter class
Drives an Animate animation from a ValueNotifier. The value from the
notifier should be in the range 0-1
.
- Inheritance
- Implementers
- Annotations
Constructors
-
ValueNotifierAdapter(ValueNotifier<
double> notifier, {bool? animated}) -
const
Properties
- animated → bool
-
Indicates whether the adapter should animate to new values. If
false
, it will jump to the new value, iftrue
it will animate to the value using a duration calculated from the animation's total duration and the value change. Defaults tofalse
.finalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
-
notifier
→ ValueNotifier<
double> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
init(
AnimationController controller) → void -
override
-
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