borderAll method
Wraps the widget with a container that has a border and optional corner radius.
Implementation
Widget borderAll(Color color, {double width = 1.5, double radius = 0.0}) =>
Container(
decoration: BoxDecoration(
border: Border.all(color: color, width: width),
borderRadius: BorderRadius.circular(radius),
),
child: this,
);