flml_internet_checker 0.0.3 flml_internet_checker: ^0.0.3 copied to clipboard
Internet Connectivity Checking Package. This package aims to check internet connection by just wrapping the widget with InternetChecker Widget without using any function calls inside your app
Internet connectivity checking package.
Usage #
import 'package:flml_internet_checker/flml_internet_checker.dart';
import 'package:flutter/material.dart';
class HomeScreen extends StatefulWidget {
const HomeScreen({super.key});
@override
State<HomeScreen> createState() => _HomeScreenState();
}
class _HomeScreenState extends State<HomeScreen> {
@override
Widget build(BuildContext context) {
return const InternetChecker(
child: Scaffold(
body: Center(
child: Text("DATA"),
),
),
);
}
}