Viewing version 0.5.0. Open the latest package page.
connectivity_plus_web
0.5.0An implementation for the web platform of the Flutter `connectivity_plus` plugin. This uses the NetworkInformation Web API, with a fallback to Navigator.onLine.
This package is discontinued upstream.
Readme
Connectivity Plus Web
Flutter Community: connectivity_plus_web
The Web implementation of connectivity_plus.
Usage
This package is already included as part of the connectivity_plus package dependency, and will
be included when using connectivity_plus as normal.
Changelog
0.5.0
- Updated platform interface
0.4.0
- Transfer to plus-plugins monorepo
0.3.1+3
- Transfer package to Flutter Community under new name
connectivity_plus_web.
0.3.1+2
- Update package:e2e to use package:integration_test
0.3.1+1
- Update package:e2e reference to use the local version in the flutter/plugins repository.
0.3.1
- Use NetworkInformation API from dart:html, instead of the JS-interop version.
0.3.0
- Rename from "experimental_connectivity_web" to "connectivity_web", and move to flutter/plugins master.
0.2.0
- Add fallback on dart:html for browsers where NetworkInformationAPI is not supported.
0.1.0
- Initial release.
Installing
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'connectivity_plus_web:0.5.0'pubspec.yaml
name: connectivity_plus_web
description: An implementation for the web platform of the Flutter `connectivity_plus` plugin. This uses the NetworkInformation Web API, with a fallback to Navigator.onLine.
version: 0.5.0
homepage: https://plus.fluttercommunity.dev/
repository: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/
flutter:
plugin:
platforms:
web:
pluginClass: ConnectivityPlugin
fileName: connectivity_plus_web.dart
dependencies:
connectivity_plus_platform_interface: ^0.3.0
flutter_web_plugins:
sdk: flutter
flutter:
sdk: flutter
dev_dependencies:
test: any
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test: ^0.9.1
mockito: ^4.1.1
environment:
sdk: ">=2.6.0 <3.0.0"
flutter: '>=1.20.0'
Version history
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 0.0.1 | Cached · Upstream SHA-256 matched | Download | b14fa4d5…cf752f |
| 0.4.0 | Cached · Upstream SHA-256 matched | Download | 4fa23bf9…dd1a2c |
| 0.5.0 | Cached · Upstream SHA-256 matched | Download | f27b068a…eecd61 |
| 0.6.0 | Cached · Upstream SHA-256 matched | Download | eb61a4b8…f50a69 |
| 0.6.1 | Cached · Upstream SHA-256 matched | Download | da44b402…7a3f78 |
| 0.7.0-nullsafety.0 | Cached · Upstream SHA-256 matched | Download | 8c68b322…5eb7c0 |
| 1.0.0 | Cached · Upstream SHA-256 matched | Download | 626d4be4…e235d3 |
| 1.0.1 | Cached · Upstream SHA-256 matched | Download | 840b3ccd…05c5a2 |
| 1.0.2 | Cached · Upstream SHA-256 matched | Download | 2e943335…f94a6c |
| 1.1.0 | Cached · Upstream SHA-256 matched | Download | 4be0560c…0c8ec9 |
| 1.1.0+1 | Cached · Upstream SHA-256 matched | Download | 54d89a8a…adc5c1 |
| 1.2.0 | Cached · Upstream SHA-256 matched | Download | 7bb2182b…ffc87a |
| 1.2.1 | Cached · Upstream SHA-256 matched | Download | e6508805…54640f |
| 1.2.2 | Cached · Upstream SHA-256 matched | Download | 6b1af6da…438a92 |
| 1.2.3 | Cached · Upstream SHA-256 matched | Download | b9141dba…a22fbf |
| 1.2.4 | Cached · Upstream SHA-256 matched | Download | be29a856…e28f7a |
| 1.2.5 | Cached · Upstream SHA-256 matched | Download | 81332be1…df2f1a |
Dependencies
connectivity_plus_platform_interface "^0.3.0"
flutter {
"sdk": "flutter"
}
flutter_web_plugins {
"sdk": "flutter"
}