In this lesson we'll create an animated floating action button. This technique can be used as a quick action menu to hide additional options. When pressed we'll use Animated.parallel
to execute our stagger menu options and execute our Animated.timing
animation which will rotate our button and change our background color with interpolate
. We use Animated.stagger
to create a delay of our buttons sliding up. Animated.spring
will give our buttons a spring effect as they shoot upwards.