initPageSize function

void initPageSize(
  1. double? width,
  2. double? height
)

初始化页面大小 注意适配宽高 还有标题栏高度

Implementation

void initPageSize(double? width, double? height) {
  if (height != null) _pageHeight = height;
  if (width != null) _pageWidth = width;
}