borderEnd method
Adds a border to the end (right) side, matching .border-end.
Implementation
Widget borderEnd({Color? color, double width = 1.0}) {
return Container(
decoration: BoxDecoration(
border: Border(
right: BorderSide(
color: color ?? const Color(0xFFDEE2E6),
width: width,
),
),
),
child: this,
);
}