circular static method
Widget
circular({
- required double? size,
- Color baseColor = Colors.grey,
- Color highlightColor = Colors.white,
- EdgeInsets? margin,
- EdgeInsets? padding,
- 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),
),
),
);
}