-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Hi,
This looks like a great widget, I'm just trying it out at the moment to see if it will work for my app.
It seems to be working well when going from offline to online, however, going from online to offline doesn't appear to work, in the code snippet below offlineCallback is never called, additionally the offlineBanner doesn't show when going from online to offline.
The offlineBanner does show if the app starts up when offline, it's just the change from online to offline that doesn't appear to be working
...
body: ConnectivityWidget(
onlineCallback: () {
print('online');
},
offlineCallback: () {
print('offline');
},
builder: (context, isOnline) {
return CustomPaint(
...
Any suggestions grealty received.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels