PdfPageViewSizeCallback typedef
Function to calculate the size of the page based on the size of the widget.
biggestSize
is the size of the widget.
page
is the page to be displayed.
The function returns the size of the page.
Implementation
typedef PdfPageViewSizeCallback = Size Function(
Size biggestSize,
PdfPage page,
);