Comments (10)
Done. Simply upgrading to flutter_acrylic 1.1.1 should fix the problem.
from flutter_acrylic.
@damywise AM using flutter 3.7.5
from flutter_acrylic.
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.
from flutter_acrylic.
Upgrade to Flutter 3.7
from flutter_acrylic.
macosui/macos_window_utils.dart#12
flutter/flutter#119132
from flutter_acrylic.
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.
from flutter_acrylic.
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.
from flutter_acrylic.
Oh,
from flutter_acrylic.
@Adrian-Samoticha windows failed build
from flutter_acrylic.
remove macos_windows_utils depdency on windows? it's not properly to using macos api on windows.
from flutter_acrylic.
Related Issues (20)
- expose aera transparent ratio API on windows10
- Usage of `macos_window_utils` broken in 1.1.1 HOT 6
- [Question] is there any way for customize unfocused window color of Window Effects like mica/acrylic/tabbed?
- windows11 acrylic effect changed
- Upgrade to macos_window_utils 1.1.2
- Replace the deprecated `backgroundColor` with `colorScheme.background` in `/example/lib/widgets/macos_action_menu/description_display.dart`
- Setup linting and fix linter errors
- Improve macos_window_utils import
- hideTitle takes no effect HOT 3
- Facing error after upgrading to 1.1.2 HOT 12
- Not working on macOS 12.3.1 (21E258) and flutter 3.7.11 HOT 8
- Not work after importing flutter_easyloading HOT 2
- macOS - Running in release mode causes program to hang HOT 9
- flutter_acrylic.Window.hideWindowControls() not support on linux HOT 1
- Not Working on Android ,
- Tint colour does not work on Mac OS when using WindowEffect.acrylic HOT 2
- WindowEffect.aero not working properly in windows 11 its just transparent
- No acrylic effect at all - Windows 11 stable release HOT 4
- Crash on linux HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_acrylic.