BorderDecoration constructor
Implementation
BorderDecoration({
required this.color,
required this.strokeWidth,
this.borderRadius,
}) : boxDecoration = BoxDecoration(
borderRadius: BorderRadius.all(
Radius.circular(borderRadius ?? 25),
),
border: Border.fromBorderSide(
BorderSide(
color: color,
width: strokeWidth,
),
),
);