sourceRect property

Rect? sourceRect
final

input Rect, you can use this to crop image. it work when centerSlice==null

Implementation

final Rect? sourceRect;