mirror of
https://github.com/gskinnerTeam/flutter-wonderous-app.git
synced 2025-06-19 18:17:57 +08:00
Restore shimmer effect
This commit is contained in:
@ -52,13 +52,12 @@ class CollectibleItem extends StatelessWidget with GetItMixin {
|
|||||||
),
|
),
|
||||||
)
|
)
|
||||||
.animate(onPlay: (controller) => controller.repeat())
|
.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)
|
||||||
//.shimmer(delay: 4000.ms, duration: $styles.times.med * 3)
|
.shake(curve: Curves.easeInOutCubic, hz: 4)
|
||||||
.shake(delay: 4000.ms, duration: $styles.times.med * 3, curve: Curves.easeInOutCubic, hz: 4)
|
|
||||||
.scale(begin: 1.0, end: 1.1, duration: $styles.times.med)
|
.scale(begin: 1.0, end: 1.1, duration: $styles.times.med)
|
||||||
.then(delay: $styles.times.med)
|
.then(delay: $styles.times.med)
|
||||||
.scale(begin: 1.0, end: 1 / 1.1),
|
.scale(begin: 1.0, end: 1 / 1.1),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user