easy_connectivity 0.0.1
easy_connectivity: ^0.0.1 copied to clipboard
An easy package to use the Internet connectivity check.
Easy connectivity #
An easy package to use the Internet connectivity check.
Call a function when internet is connected #
-
The
ready
callback will be call when the internet is connected. This may be called multiple times whenever the internet is on. -
The
ready
callback will be called when the app starts.
ConnectivityService.instance.init(ready: () {
doSomethingHere();
});