createPaintForBorder method
Implementation
Paint? createPaintForBorder(BorderSide? side) {
if (side == null)
return null;
return new Paint()
..style = PaintingStyle.stroke
..color = side.color
..strokeWidth = side.width;
}
Paint? createPaintForBorder(BorderSide? side) {
if (side == null)
return null;
return new Paint()
..style = PaintingStyle.stroke
..color = side.color
..strokeWidth = side.width;
}