circle static method
dynamic
circle(
- BuildContext context,
- double width,
- Color color, {
- Widget child = const SizedBox(),
Implementation
static circle(
BuildContext context,
double width,
Color color, {
Widget child = const SizedBox(),
}) =>
Container(
alignment: Alignment.center,
decoration: BoxDecoration(shape: BoxShape.circle, color: color),
width: width,
height: width,
child: child,
);