MediaQuery.any constructor

const MediaQuery.any(
  1. List<MediaQuery> queries
)

Combines multiple media queries into a single rule.

Each query in a comma-separated list is treated separately from the others. Thus, if any of the queries in a list is true, the entire media statement returns true. In other words, lists behave like a logical or operator.

Implementation

const factory MediaQuery.any(List<MediaQuery> queries) = _AnyMediaRuleQuery;