mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Instead lets just iterate the list of sheets and ask each one questions. This shouldn't be much slower since most widgets only have one sheet anyway. I also moved the media query matching to the sheet collection. We weren't correctly matching them since we only guarded the feature set, not the addition to the list of active sheets. R=abarth@chromium.org, ojan@chromium.org Review URL: https://codereview.chromium.org/858423002