circular static method

Widget circular({
  1. required double? size,
  2. Color baseColor = Colors.grey,
  3. Color highlightColor = Colors.white,
  4. EdgeInsets? margin,
  5. EdgeInsets? padding,
  6. bool enabled = true,
})

Implementation

static Widget circular({
  required double? size,
  Color baseColor = Colors.grey,
  Color highlightColor = Colors.white,
  EdgeInsets? margin,
  EdgeInsets? padding,
  bool enabled = true,
}) {
  return Shimmer.fromColors(
    enabled: enabled,
    baseColor: baseColor,
    highlightColor: highlightColor,
    child: Container(
      margin: margin,
      padding: padding,
      width: size,
      height: size,
      decoration: BoxDecoration(
        color: Get.theme.shadowColor.withAlpha(150),
        borderRadius: BorderRadius.circular(100),
      ),
    ),
  );
}