noAnimation constant

FloatingActionButtonAnimator const noAnimation

Creates an instance of FloatingActionButtonAnimator where the FloatingActionButton does not animate on entrance and exit when FloatingActionButtonLocation is shown or hidden and when transitioning between FloatingActionButtonLocations.

This sample showcases how to override FloatingActionButton entrance and exit animations using FloatingActionButtonAnimator.noAnimation in Scaffold.floatingActionButtonAnimator.
link

To create a local project with this code sample, run:
flutter create --sample=material.FloatingActionButtonAnimator.noAnimation.1 mysample

Implementation

static const FloatingActionButtonAnimator noAnimation = _NoAnimationFabMotionAnimator();