border method
Adds a default border on all sides, matching .border.
Implementation
Widget border({Color? color, double width = 1.0}) {
return Container(
decoration: BoxDecoration(
border: Border.all(
color: color ?? const Color(0xFFDEE2E6), // default Bootstrap light gray border color
width: width,
),
),
child: this,
);
}