withCircularBorder method
Widget
withCircularBorder({
- Color color = Colors.black,
- double width = 1.0,
- BorderStyle style = BorderStyle.solid,
Adds a circular border with the specified color and width to the widget
Implementation
Widget withCircularBorder({
Color color = Colors.black,
double width = 1.0,
BorderStyle style = BorderStyle.solid,
}) => Container(
decoration: BoxDecoration(
border: Border.all(color: color, width: width, style: style),
shape: BoxShape.circle,
),
child: this,
);