yScreenSize function

Size yScreenSize({
  1. BuildContext? context,
})

获取屏幕尺寸

Implementation

Size yScreenSize({BuildContext? context}) => MediaQuery.of(context ?? yPages.last.context).size;