FxShimmer.round constructor

FxShimmer.round({
  1. Key? key,
  2. required double size,
  3. Color? highlightColor,
  4. Duration delay = Duration.zero,
  5. Color? baseColor,
  6. ShimmerTheme? theme,
  7. Duration animationDuration = const Duration(milliseconds: 1200),
})

Creates a round shimmer container widget.

Implementation

factory FxShimmer.round({
  Key? key,
  required double size,
  Color? highlightColor,
  Duration delay = Duration.zero,
  Color? baseColor,
  ShimmerTheme? theme,
  Duration animationDuration = const Duration(milliseconds: 1200),
}) =>
    FxShimmer(
      key: key,
      height: size,
      width: size,
      radius: size / 2,
      baseColor: baseColor,
      highlightColor: highlightColor,
      theme: theme,
      delay: delay,
      animationDuration: animationDuration,
    );