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

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

Open
mustafa-fahimi opened this issue May 19, 2024 · 1 comment · Fixed by #215
Assignees

Comments

@mustafa-fahimi
Copy link

mustafa-fahimi commented May 19, 2024

Hi. I get below error when i try to run my project for web:

../../AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/network_tools-5.0.2/lib/src/services/impls/mdns_scanner_service_impl.dart:128: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.flutter-io.cn/universal_io-2.2.2/lib/src/internet_address.dart').
          internetAddress: ip.address,

I am using version 5.0.2
My Flutter sdk is on version 3.19.6

@emme1009
Copy link

same here. Did you solve it other then downgrading network-tools ?

@git-elliot git-elliot linked a pull request Nov 24, 2024 that will close this issue
@git-elliot git-elliot self-assigned this Nov 24, 2024
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

Successfully merging a pull request may close this issue.

3 participants