Skip to content

ShimmerDirection.ttb cuts off with Shimmer.fromColors #68

@Curstantine

Description

@Curstantine

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions