FloatingActionButtonAnimator class

Provider of animations to move the FloatingActionButton between FloatingActionButtonLocations.

The Scaffold uses Scaffold.floatingActionButtonAnimator to define:

See also:

Constructors

FloatingActionButtonAnimator()
Abstract const constructor. This constructor enables subclasses to provide const constructors so that they can be used in const expressions.
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getAnimationRestart(double previousValue) double
Gets the progress value to restart a motion animation from when the animation is interrupted. [...]
getOffset({Offset begin, Offset end, double progress }) Offset
Gets the FloatingActionButton's position relative to the origin of the Scaffold based on progress. [...]
getRotationAnimation({Animation<double> parent }) Animation<double>
Animates the rotation of Scaffold.floatingActionButton. [...]
getScaleAnimation({Animation<double> parent }) Animation<double>
Animates the scale of the FloatingActionButton. [...]
toString() String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

scaling → const FloatingActionButtonAnimator
Moves the FloatingActionButton by scaling out and then in at a new FloatingActionButtonLocation. [...]
const _ScalingFabMotionAnimator()