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.

Inheritance

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.
override
getRotationAnimation({required Animation<double> parent}) Animation<double>
Animates the rotation of Scaffold.floatingActionButton.
override
getScaleAnimation({required Animation<double> parent}) Animation<double>
Animates the scale of the FloatingActionButton.
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