onConnectivityChanged property
Stream<ConnectivityResult>
onConnectivityChanged
Fires whenever the connectivity state changes.
Implementation
Stream<ConnectivityResult> get onConnectivityChanged {
return _platform.onConnectivityChanged;
}