halildurmus / filepicker_windows

File and directory picker for Windows that uses common dialog controls.
BSD 3-Clause "New" or "Revised" License
68 stars 19 forks source link

The argument type Poiner<Pointer<NativeType>> can't be assigned to the parameter type Pointer<Pointer<COMObject>> #17

Closed kirill-21 closed 2 years ago

kirill-21 commented 2 years ago

image After updating win32 package from ^2.2.10 to ^2.3.1 i can not build the project due to this issue in filepicker_windows package

timsneath commented 2 years ago

Ooh -- good catch. I'll fix; thank you for noting this.

kevinxxq commented 2 years ago

Hi All, I got the errors too, Is there any method to solve it quickly like downgrade the dependency? Now the whole project can't build and can't run any more.

Thank you.

kirill-21 commented 2 years ago

Hi All, I got the errors too, Is there any method to solve it quickly like downgrade the dependency? Now the whole project can't build and can't run any more.

Thank you.

Just use win32 2.2.10 version without an ^symbol win32: 2.2.10

kevinxxq commented 2 years ago

Hi All, I got the errors too, Is there any method to solve it quickly like downgrade the dependency? Now the whole project can't build and can't run any more. Thank you.

Just use win32 2.2.10 version without an ^symbol win32: 2.2.10

Thank you very much! It works now.

timsneath commented 2 years ago

Fixed in https://github.com/timsneath/filepicker_windows/commit/f5d33da8290ff8c1679e2c4ec830b1c5a72ecceb. Updated version published as 2.0.1 on pub.dev. Thanks for the report.