easy_internet_checker

Creator: coderz1093

Last updated:

0 purchases

easy_internet_checker Image
easy_internet_checker Images

Languages

Categories

Add to Cart

Description:

easy internet checker

This package help with network connectivity and configure themselves accordingly. It can distinguish between cellular vs WiFi connection as shown below.

Features #

Check network connectivity.
Customize the offline widget.
Disable Interaction option while device is offline.

Getting started #
you need to import the package into your project and wrap the widget with ConnectivityWrapper widget.
Usage #
TODO: You can find the code snippet in to /example folder project.
ConnectivityWrapper(
disableInteraction: true,
offlineWidgetTextAlign: TextAlign.center,
offlineWidgetColor: Colors.amber,
offlineWidgetMessageStyle:
const TextStyle(color: Colors.black54, fontSize: 18),
containerAlignment: Alignment.topCenter,
child: Center(
child: ElevatedButton(
onPressed: () {
print('Pressed');
},
child: const Text('submit'),
),
),
);
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.