bitsdojo / bitsdojo_window

A Flutter package that makes it easy to customize and work with your Flutter desktop app window.
http://www.youtube.com/watch?v=bee2AHQpGK4
MIT License
816 stars 229 forks source link

Using flutter 2.13.0.-0.1pre lib/src/window.dart is producing an error when compiling #163

Closed Tanthus closed 2 years ago

Tanthus commented 2 years ago

This only happens in the beta channel, still compiles fine in the main one.

I get the following the error: /C:/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_windows-0.1.0/lib/src/window.dart(72,36): error GF1577525: 'Size' is imported from both 'dart:ffi' and 'dart:ui'. [C:\proj\prolific-app-flutter\app\build\windows\flutter\flutter_assemble.vcxproj]

I will report this for flutter dart:ffi and dart:ui as well. But you might also want to make adjustments here just in case.

RawadZogheib commented 2 years ago

Any solution? Same error on the stable channel 3.0.0

filipenanclarez commented 2 years ago

Any solution? Same error on the stable channel 3.0.0

Same here

bitsdojo commented 2 years ago

Fixed in bitsdojo_window: ^0.1.2 - https://github.com/bitsdojo/bitsdojo_window/commit/f320b623db107b03a5976fd88e52ec4fe81fa0c9

Closing this issue. Please re-open if needed.