Viewing version 0.4.0. Open the latest package page.

connectivity_plus_web

0.4.0

An 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.

Download archive

Readme

Connectivity Plus Web

Flutter Community: connectivity_plus_web

pub package

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.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.4.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.4.0
homepage: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/connectivity_plus_web

flutter:
  plugin:
    platforms:
      web:
        pluginClass: ConnectivityPlugin
        fileName: connectivity_plus_web.dart

dependencies:
  connectivity_plus_platform_interface: ^0.2.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

VersionPublishedArchiveSHA-256
0.0.1Cached · Upstream SHA-256 matchedDownloadb14fa4d5…cf752f
0.4.0Cached · Upstream SHA-256 matchedDownload4fa23bf9…dd1a2c
0.5.0Cached · Upstream SHA-256 matchedDownloadf27b068a…eecd61
0.6.0Cached · Upstream SHA-256 matchedDownloadeb61a4b8…f50a69
0.6.1Cached · Upstream SHA-256 matchedDownloadda44b402…7a3f78
0.7.0-nullsafety.0Cached · Upstream SHA-256 matchedDownload8c68b322…5eb7c0
1.0.0Cached · Upstream SHA-256 matchedDownload626d4be4…e235d3
1.0.1Cached · Upstream SHA-256 matchedDownload840b3ccd…05c5a2
1.0.2Cached · Upstream SHA-256 matchedDownload2e943335…f94a6c
1.1.0Cached · Upstream SHA-256 matchedDownload4be0560c…0c8ec9
1.1.0+1Cached · Upstream SHA-256 matchedDownload54d89a8a…adc5c1
1.2.0Cached · Upstream SHA-256 matchedDownload7bb2182b…ffc87a
1.2.1Cached · Upstream SHA-256 matchedDownloade6508805…54640f
1.2.2Cached · Upstream SHA-256 matchedDownload6b1af6da…438a92
1.2.3Cached · Upstream SHA-256 matchedDownloadb9141dba…a22fbf
1.2.4Cached · Upstream SHA-256 matchedDownloadbe29a856…e28f7a
1.2.5Cached · Upstream SHA-256 matchedDownload81332be1…df2f1a

Dependencies

connectivity_plus_platform_interface "^0.2.0"

flutter { "sdk": "flutter" }

flutter_web_plugins { "sdk": "flutter" }