internet_check_in_app 0.0.2
internet_check_in_app: ^0.0.2 copied to clipboard
A Flutter package for monitoring internet connectivity status with automatic UI updates. Provides a ready-to-use widget that listens to network changes and displays a no-internet screen when disconnected.
import 'package:internet_check_in_app/internet_check_in_app.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
home: ConnectivityListener(
child: InternetRestore(),
),
);
}
}