network_internet_checker

Last updated:

0 purchases

network_internet_checker Image
network_internet_checker Images
Add to Cart

Description:

network internet checker

network_internet_checker #
The connectivity package and other similar packages only
provides information if there is a network connection, but not if the network is connected to
the Internet. That's why the
network_internet_c hecker package
helps you easily manage widgets dynamically based on the device's internet access.



🧑‍đŸ’ģ Getting started #
flutter pub add network_internet_checker
copied to clipboard
🛠ī¸ Usage #
Simply import package:network_internet_checker/network_internet_checker.dart' and simply
pass the Required Parameters to the widget. It takes a some required parameter such as the child wiget , an onPressed function, etc.



Exemple #
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);

@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
useMaterial3: true,
colorSchemeSeed: const Color(0x9f4376f8),
),
home: Scaffold(
body: ConnectivityWidget(
noInternetText: const Text("Check your internet and try again", ),
addIcon: false,
loadingColor: Colors.brown,
textButton: Text("Try Again"),
onButtonPressed: () {
print("Check your internet and try again"); },
child: Center(child: const Text("Working",style: TextStyle(fontSize: 20),)),
),
),
);
}
}
copied to clipboard
ℹī¸ Additional Information #
Contribute to this project by making a PR âŦ†ī¸ or creating a new issue 🐞 on GitHub.

Do not hesitate to let a 🌟 on the repo if you find it useful.
👷 Maintainers #
Created & maintained with 💖 by Similoluwa Ogunleye.
📄 License #
MIT License

Copyright (c) 2024 Ogunleye-Similoluwa

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



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.