FloatingActionButtonAnimator class Null safety

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-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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

Operators

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

Constants

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