import 'package:flutter/material.dart'; class ConnectivityProvider with ChangeNotifier{ /*Connectivity ConnectivityProvider _connectivityProvider = new ConnectivityProvider(); late bool _isOnline; bool get isOnline => _isOnline; startMonitoring() async { } Future initConnectivity() async { try { var connectivityResult = await (Connectivity().checkConnectivity()); } catch { } }*/ }