getMediaQueryData static method

MediaQueryData getMediaQueryData(
  1. BuildContext context
)

当前MediaQueryData

Implementation

static MediaQueryData getMediaQueryData(BuildContext context) {
  var mediaQuery = MediaQuery.of(context);
  return mediaQuery;
}