Open Curstantine opened 1 year ago
The transition cuts off right before the end when using ShimmerDirection.ltb. Not reproducible with other options.
ShimmerDirection.ltb
return Shimmer.fromColors( baseColor: colors.surface, highlightColor: colors.surfaceVariant, direction: ShimmerDirection.ttb, child: Column(mainAxisSize: MainAxisSize.min, children: [ Padding( padding: Edges.horizontalLarge, child: Container(width: 100, color: colors.surface)), for (final _ in List.generate(5, (index) => index)) ListTile( leading: Container( height: 24, width: 24, decoration: BoxDecoration( color: colors.surface, shape: BoxShape.circle, ), ), title: Container( height: 16, width: 150, decoration: BoxDecoration( color: colors.surface, borderRadius: Corners.allFull, ), ) ), ], ), );
https://github.com/hnvn/flutter_shimmer/assets/69104500/14ca5bd1-5cba-45fb-99e4-4bbce3b95ea5
This issue also happen with ShimmerDirection.btt
ShimmerDirection.btt
The transition cuts off right before the end when using
ShimmerDirection.ltb
. Not reproducible with other options.https://github.com/hnvn/flutter_shimmer/assets/69104500/14ca5bd1-5cba-45fb-99e4-4bbce3b95ea5