connectivity_plus_web 1.2.5 connectivity_plus_web: ^1.2.5 copied to clipboard
An implementation for the web platform of the Flutter `connectivity_plus` plugin. This uses the NetworkInformation Web API, with a fallback to Navigator.onLine.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
/// App Testing
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return Text('A Placeholder file for integration tests.');
}
}