FxShimmer constructor

const FxShimmer({
  1. Key? key,
  2. Duration delay = Duration.zero,
  3. double radius = 0,
  4. ShimmerTheme? theme,
  5. Color? highlightColor,
  6. Color? baseColor,
  7. double width = double.infinity,
  8. double height = 80,
  9. Duration animationDuration = const Duration(milliseconds: 1200),
})

Creates a shimmer container widget.

Implementation

const FxShimmer({
  Key? key,
  this.delay = Duration.zero,
  this.radius = 0,
  this.theme,
  this.highlightColor,
  this.baseColor,
  this.width = double.infinity,
  this.height = 80,
  this.animationDuration = const Duration(milliseconds: 1200),
}) : super(key: key);