SafaehLayoutFollowingFabAnimator class

Follows responsive layout offsets without replaying Scaffold's relocation scale and rotation.

Distinct from FloatingActionButtonAnimator.noAnimation so Scaffold can still run the FAB's genuine initial entrance.

Constructors

SafaehLayoutFollowingFabAnimator()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAnimationRestart(double previousValue) → double
Gets the progress value to restart a motion animation from when the animation is interrupted.
inherited
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 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