slideInRight constant
BloomAnimation
const slideInRight
Translates element horizontally from 100% to 0 with a concurrent fade in.
Implementation
static const slideInRight = BloomAnimation(
name: 'bloom-slide-in-right',
keyframes: [
BloomKeyframe(
offset: 0.0,
styles: {'transform': 'translateX(100%)', 'opacity': '0'}),
BloomKeyframe(
offset: 1.0,
styles: {'transform': 'translateX(0)', 'opacity': '1'}),
],
);