slideInLeft constant

BloomAnimation const slideInLeft

Translates element horizontally from -100% to 0 with a concurrent fade in.

Implementation

static const slideInLeft = BloomAnimation(
  name: 'bloom-slide-in-left',
  keyframes: [
    BloomKeyframe(
        offset: 0.0,
        styles: {'transform': 'translateX(-100%)', 'opacity': '0'}),
    BloomKeyframe(
        offset: 1.0,
        styles: {'transform': 'translateX(0)', 'opacity': '1'}),
  ],
);