Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The argument type 'InternetAddress/*1*/' can't be assigned to the parameter type 'InternetAddress/*2*/ #185

Closed
emme1009 opened this issue Mar 8, 2024 · 1 comment

Comments

@emme1009
Copy link

emme1009 commented Mar 8, 2024

Since upgrading to flutter 3.19.1 I´m no longer able to build my app for web. The code is not used in web and was working fine before.

Any suggestion would help.

I looked through your code and my own code. I found no import of dart.io anywhere. So I don´t know what to do next.

AppData/Local/Pub/Cache/hosted/pub.dev/network_tools-4.0.4/lib/src/mdns_scanner/mdns_scanner.dart:125:31:
Error: The argument type 'InternetAddress/*1*/' can't be assigned to the parameter type 'InternetAddress/*2*/'.
 - 'InternetAddress/*1*/' is from 'dart:io'.
 - 'InternetAddress/*2*/' is from 'package:universal_io/src/internet_address.dart' ('/AppData/Local/Pub/Cache/hosted/pub.dev/universal_io-2.2.2/lib/src/internet_address.dart').
          internetAddress: ip.address,
@git-elliot
Copy link
Collaborator

Hi @emme1009 please refer to similar thread #83 and see if anything helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants