///
/// An enum defines all supported directions of shimmer effect
///
/// * [ShimmerDirection.ltr] left to right direction
/// * [ShimmerDirection.rtl] right to left direction
/// * [ShimmerDirection.ttb] top to bottom direction
/// * [ShimmerDirection.btt] bottom to top direction
///
enum ShimmerDirection { ltr, rtl, ttb, btt }
Proposal:
Change Shimmerdirection to accept a double which represents degrees (or radians).
Static constants can be used for the existing directions of ltr, rtl, ttb, btt for minimal changes to existing clients.
Add support for shimmer direction at any angle. Shimmer currently supports the following four directions:
shimmer.dart
Proposal: Change
Shimmer
direction
to accept a double which represents degrees (or radians). Static constants can be used for the existing directions ofltr, rtl, ttb, btt
for minimal changes to existing clients.