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