connection_verify 1.0.4 connection_verify: ^1.0.4 copied to clipboard
Package to verify the network connection status, it allows to knows how is the network connection status, for Android and iOS, 'true' if is connected, 'false' if is not.
connection_verify #
Package to verify the network connection status
Example #
if (await ConnectionVerify.connectionStatus()){
print("I have network connection!");
//Do your online stuff here
} else {
print("I don't have network connection!");
//Do your offline stuff here
}
Getting Started #
This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.