padding property
Getter for padding of drawable.
Add padding equal to the stroke width of the line.
Implementation
@protected
@override
EdgeInsets get padding => EdgeInsets.all(paint.strokeWidth / 2);
Getter for padding of drawable.
Add padding equal to the stroke width of the line.
@protected
@override
EdgeInsets get padding => EdgeInsets.all(paint.strokeWidth / 2);