Coder Social home page Coder Social logo

macOS broken about flutter_acrylic HOT 10 CLOSED

lucasjinreal avatar lucasjinreal commented on August 19, 2024
macOS broken

from flutter_acrylic.

Comments (10)

Adrian-Samoticha avatar Adrian-Samoticha commented on August 19, 2024 2

Done. Simply upgrading to flutter_acrylic 1.1.1 should fix the problem.

from flutter_acrylic.

lucasjinreal avatar lucasjinreal commented on August 19, 2024 1

@damywise AM using flutter 3.7.5

from flutter_acrylic.

Adrian-Samoticha avatar Adrian-Samoticha commented on August 19, 2024 1

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.

damywise avatar damywise commented on August 19, 2024

Upgrade to Flutter 3.7

from flutter_acrylic.

damywise avatar damywise commented on August 19, 2024

macosui/macos_window_utils.dart#12
flutter/flutter#119132

from flutter_acrylic.

Adrian-Samoticha avatar Adrian-Samoticha commented on August 19, 2024

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.

Adrian-Samoticha avatar Adrian-Samoticha commented on August 19, 2024

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.

lucasjinreal avatar lucasjinreal commented on August 19, 2024

Oh,

from flutter_acrylic.

lucasjinreal avatar lucasjinreal commented on August 19, 2024

@Adrian-Samoticha windows failed build

图片

from flutter_acrylic.

lucasjinreal avatar lucasjinreal commented on August 19, 2024

remove macos_windows_utils depdency on windows? it's not properly to using macos api on windows.

from flutter_acrylic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.