Skip to content

Conversation

iliser
Copy link

@iliser iliser commented May 11, 2023

No description provided.

@masterwok
Copy link

@iliser were you able to build past the following issues as well? I'm also trying to get this package working with 3.10.

../../.pub-cache/hosted/pub.dev/package_info_plus_windows-2.1.0/lib/src/file_version_info.dart:13:17: Error: Field 'wLanguage' cannot be nullable or have type 'Null', it must be `int`, `double`, `Pointer`, or a subtype of `Struct` or `Union`.
  external int? wLanguage;
                ^
../../.pub-cache/hosted/pub.dev/package_info_plus_windows-2.1.0/lib/src/file_version_info.dart:16:17: Error: Field 'wCodePage' cannot be nullable or have type 'Null', it must be `int`, `double`, `Pointer`, or a subtype of `Struct` or `Union`.
  external int? wCodePage;
                ^
Target kernel_snapshot failed: Exception

@masterwok
Copy link

Okay, was able to get a workaround by including the following in my pubspec:

dependency_overrides:
  package_info_plus_windows: 3.0.0
  win32: 5.0.0

@MulverineX
Copy link

I'd recommend looking at #149

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 this pull request may close these issues.

3 participants