File tree 1 file changed +6
-1
lines changed
packages/connectivity_plus/connectivity_plus/lib
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,16 @@ class Connectivity {
34
34
return ConnectivityPlatform .instance;
35
35
}
36
36
37
- /// Fires whenever the connectivity state changes .
37
+ /// Exposes connectivity update events from the platform .
38
38
///
39
39
/// On iOS, the connectivity status might not update when WiFi
40
40
/// status changes, this is a known issue that only affects simulators.
41
41
/// For details see https://github.com/fluttercommunity/plus_plugins/issues/479.
42
+ ///
43
+ /// On Android, the Stream may emit new values even when
44
+ /// the [ConnectivityResult] list remains the same.
45
+ ///
46
+ /// This method doesn't filter events, nor it ensures distinct values.
42
47
Stream <List <ConnectivityResult >> get onConnectivityChanged {
43
48
return _platform.onConnectivityChanged;
44
49
}
You can’t perform that action at this time.
0 commit comments