LayoutPagesFunc typedef Null safety

LayoutPagesFunc = List<Rect> Function(Size contentViewSize, List<Size> pageSizes)

Implementation

typedef LayoutPagesFunc = List<Rect> Function(Size contentViewSize, List<Size> pageSizes);