Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ShimmerDirection.ttb cuts off with Shimmer.fromColors #68

Open
Curstantine opened this issue May 25, 2023 · 1 comment
Open

ShimmerDirection.ttb cuts off with Shimmer.fromColors #68

Curstantine opened this issue May 25, 2023 · 1 comment

Comments

@Curstantine
Copy link

The transition cuts off right before the end when using ShimmerDirection.ltb.
Not reproducible with other options.

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,
					),
				)
			),
		],
	),
);
Screen_Recording_20230525-192937.mp4
@sed1ka
Copy link

sed1ka commented Aug 3, 2023

This issue also happen with ShimmerDirection.btt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants