useMediaQuery function

MediaQueryData useMediaQuery()

Implementation

MediaQueryData useMediaQuery() {
  final context = useContext();
  final mediaQuery = MediaQuery.of(context);
  return mediaQuery;
}