onMediaQueryResultChanged property
Stream
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 get onMediaQueryResultChanged => _client.onEvent
.where((event) => event.name == 'CSS.mediaQueryResultChanged');