connectivity_plus_web 0.7.0-nullsafety.0
connectivity_plus_web: ^0.7.0-nullsafety.0 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.
example/lib/main.dart
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.');
}
}