matchMedia method
- String query
Returns a list of media queries for the given query string.
Other resources
- Testing media queries from MDN.
- The MediaQueryList specification from W3C.
Implementation
MediaQueryList matchMedia(String query) native;
api.dart.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic. Learn more.
Returns a list of media queries for the given query string.
MediaQueryList matchMedia(String query) native;