internet_connection_checker icon indicating copy to clipboard operation
internet_connection_checker copied to clipboard

Web Unsupported operation: InternetAddress

Open jarzac opened this issue 3 years ago • 9 comments

On web, I get the following error:

Unsupported operation: InternetAddress

This is the debug log:

======== Exception caught by widgets library =======================================================
The following UnsupportedError was thrown building PatientsWidget(dirty, dependencies: [_InheritedProviderScope<InternetConnectionStatus>], state: _PatientsWidgetState#f28b7):
Unsupported operation: InternetAddress

The relevant error-causing widget was: 
  PatientsWidget file:///.../lib/views/home_view.dart:84:16
When the exception was thrown, this was the stack: 
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 236:49     throw_
dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 413:5                  new
packages/internet_connection_checker/internet_connection.dart 70:9               get DEFAULT_ADDRESSES
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 825:8  get
packages/internet_connection_checker/internet_connection.dart 108:41             __
...
====================================================================================================

jarzac avatar Sep 01 '21 16:09 jarzac