Closed lucasjinreal closed 1 year ago
Upgrade to Flutter 3.7
@damywise AM using flutter 3.7.5
This issue was caused by a change in Flutter 3.7 and was fixed in macos_window_utils 1.0.2. flutter_acrylic currently depends on macos_window_utils ^1.0.0, meaning that technically the package manager should be able to choose 1.0.2 if it wanted to, but apparently it didn't in your case. I assume if you were to run
rm pubspec.lock && flutter pub get
Flutter would install the latest version of macos_window_utils and it would work fine.
Alternatively, you can just install macos_window_utils 1.0.2 (both packages can be installed simultaneously):
flutter pub add macos_window_utils
That said, maybe I should just update the macos_window_dependency to 1.0.2 in flutter_acrylic. I originally chose not to do so since it would make flutter_acrylic incompatible with Flutter versions below 3.7, but it's been over a month since it came out, so I suppose most people would have upgraded by now.
Done. Simply upgrading to flutter_acrylic 1.1.1 should fix the problem.
Apparently static analysis failed on pub.dev. I have run flutter analyze lib/window.dart
using lints_core and couldn't reproduce the issue. I'll see what I can do later.
Oh,
@Adrian-Samoticha windows failed build
remove macos_windows_utils depdency on windows? it's not properly to using macos api on windows.
The issue isn't Windows-related. I was able to reproduce it on macOS as well. I am currently still investigating it.
EDIT: I believe the issue is now fixed. It was caused by a faulty macos_window_utils version which I have now retracted and hotfixed. If you still experience it on your end, please try running rm pubspec.lock && flutter pub get
to make sure that you are running the correct version of macos_window_utils.
aera effect not work any more...
Please maintain this good repo, please post workable code before release, many users depends on this!!