// import 'package:connectivity_plus/connectivity_plus.dart'; // import 'package:flutter/material.dart'; // import 'package:flutter/services.dart'; // class checkinter extends StatefulWidget { // const checkinter({super.key}); // @override // State createState() => _checkinterState(); // } // class _checkinterState extends State { // @override // Widget build(BuildContext context) { // return const Placeholder(); // } // } // final Connectivity _connectivity = Connectivity(); // get developer => null; // Future initConnectivitycheck() async { // late List result; // // Platform messages may fail, so we use a try/catch PlatformException. // try { // result = await _connectivity.checkConnectivity(); // } on PlatformException catch (e) { // developer.log('Couldn\'t check connectivity status', error: e); // return; // } // // If the widget was removed from the tree while the asynchronous platform // // message was in flight, we want to discard the reply rather than calling // // setState to update our non-existent appearance. // if (!mounted) { // return Future.value(null); // } // return _updateConnectionStatus(result); // }