UFUDashedBorder.all constructor
UFUDashedBorder.all({})
You can define sides property for all sides.
Implementation
factory UFUDashedBorder.all({
Color color = const Color(0xFF000000),
double width = 1.0,
BorderStyle style = BorderStyle.solid,
dynamic strokeAlign = BorderSide.strokeAlignInside,
bool isOnlyCorner = false,
StrokeCap strokeCap = StrokeCap.square,
required double dashLength,
double? spaceRatio,
double? spaceLength,
}) {
final BorderSide side = BorderSide(
color: color,
width: width,
style: style,
strokeAlign: strokeAlign,
);
return UFUDashedBorder.fromBorderSide(
side: side,
dashLength: dashLength,
isOnlyCorner: isOnlyCorner,
strokeCap: strokeCap,
spaceRatio: spaceRatio,
spaceLength: spaceLength,
);
}