Restore shimmer effect

This commit is contained in:
Shawn 2022-09-07 13:52:53 -06:00
parent ef1c4d8a8a
commit 13eec8392d

View File

@ -52,13 +52,12 @@ class CollectibleItem extends StatelessWidget with GetItMixin {
),
)
.animate(onPlay: (controller) => controller.repeat())
// TODO SB (Aug 17, 2022): Temporarily removed on Jonahs request, due to a bug in Impeller which should be fixed soon. Re-enable when fixed.
//.shimmer(delay: 4000.ms, duration: $styles.times.med * 3)
.shake(delay: 4000.ms, duration: $styles.times.med * 3, curve: Curves.easeInOutCubic, hz: 4)
.shimmer(delay: 4000.ms, duration: $styles.times.med * 3)
.shake(curve: Curves.easeInOutCubic, hz: 4)
.scale(begin: 1.0, end: 1.1, duration: $styles.times.med)
.then(delay: $styles.times.med)
.scale(begin: 1.0, end: 1 / 1.1),
),
),
),
),
);