padding property

Getter for padding of drawable.

Add padding equal to the stroke width of the paint.

Implementation

@protected
@override
EdgeInsets get padding => EdgeInsets.all(paint.strokeWidth / 2);