onMediaQueryResultChanged property
Stream<void>
get
onMediaQueryResultChanged
Fires whenever a MediaQuery result changes (for example, after a browser window has been resized.) The current implementation considers only viewport-dependent media features.
Implementation
Stream<void> get onMediaQueryResultChanged => _client.onEvent
.where((event) => event.name == 'CSS.mediaQueryResultChanged');