describeClipBounds method Null safety

  1. @override
Rect? describeClipBounds()
override

Describes the clip that would be applied to contents of this layer, if any.

Implementation

@override
Rect? describeClipBounds() => clipPath?.getBounds();