viewRect property

Rect viewRect

Current view rectangle. If the controller is not ready(PdfViewPinch), the property throws an exception.

Implementation

Rect get viewRect => Rect.fromLTWH(
      -value.row0[3],
      -value.row1[3],
      _state!._lastViewSize!.width,
      _state!._lastViewSize!.height,
    );