Open pzehle opened 2 years ago
DottedBorder(
customPath: (size) {
return Path()
..addRRect(
borderRadius
.resolve(Directionality.of(context))
.toRRect(
Rect.fromLTRB(
0, 0, size.width, size.height),
),
);
},
child: [Your child],
);
Please use custompath to custom border radius you want.
Any idea on how to define the radius for each one of the corners?