srcRect property

  1. @override
Rect get srcRect
override

The region of texture to draw, in texture pixels.

Implementation

@override
Rect get srcRect =>
    Rect.fromLTWH(0, 0, _textureSize.toDouble(), _textureSize.toDouble());