alexmercerind / flutter_acrylic

Flutter library for window acrylic, mica & transparency effects.
MIT License
607 stars 54 forks source link

Issue with example project on flutter 3.0, a conflict between dart:ffi and dart:ui #28

Closed Far-Se closed 2 years ago

Far-Se commented 2 years ago

Hello, I tried to run the example app and I get this errors:

/E:/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'. [E:\Playground\Flutter\flutter_acrylic\example\build\windows\flutter\flutter_assemble.vcxproj]
/E:/flutter/.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_windows-0.1.0/lib/src/window.dart(84,12): error GF1577525: 'Size' is imported from both 'dart:ffi' and 'dart:ui'. [E:\Playground\Flutter\flutter_acrylic\example\build\windows\flutter\flutter_assemble.vcxproj]
/E:/flutter/.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_windows-0.1.0/lib/src/window.dart(126,12): error GF1577525: 'Size' is imported from both 'dart:ffi' and 'dart:ui'. [E:\Playground\Flutter\flutter_acrylic\example\build\windows\flutter\flutter_assemble.vcxproj]
/E:/flutter/.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_windows-0.1.0/lib/src/window.dart(133,12): error GF1577525: 'Size' is imported from both 'dart:ffi' and 'dart:ui'. [E:\Playground\Flutter\flutter_acrylic\example\build\windows\flutter\flutter_assemble.vcxproj]
/E:/flutter/.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_windows-0.1.0/lib/src/window.dart(140,12): error GF1577525: 'Size' is imported from both 'dart:ffi' and 'dart:ui'. [E:\Playground\Flutter\flutter_acrylic\example\build\windows\flutter\flutter_assemble.vcxproj]
/E:/flutter/.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_windows-0.1.0/lib/src/window.dart(199,22): error GF1577525: 'Size' is imported from both 'dart:ffi' and 'dart:ui'. [E:\Playground\Flutter\flutter_acrylic\example\build\windows\flutter\flutter_assemble.vcxproj]

What am I suppose to do? I have flutter 3.0. I don't think I am suppose to modify library code to make it run.