ubuntu / yaru_window.dart

Provides API for interacting with top-level Flutter windows.
https://pub.dev/packages/yaru_window
Mozilla Public License 2.0
22 stars 4 forks source link

fix(linux): wire up YaruWindow.onClose with didRequestAppExit() #35

Closed jpnurmi closed 1 year ago

jpnurmi commented 1 year ago

Close: #33

Feichtmeier commented 1 year ago

should I test it with musicpod?

jpnurmi commented 1 year ago

please do, i was planning to do the same with the installer. i only tested with the example on linux, windows & macos so far.

Feichtmeier commented 1 year ago

:vulcan_salute: okay, sec

jpnurmi commented 1 year ago
dependency_overrides:
  yaru_window_linux:
    git:
      url: https://github.com/jpnurmi/yaru_window.dart.git
      ref: linux-app-exit-request
      path: packages/yaru_window_linux
  yaru_window_platform_interface:
    git:
      url: https://github.com/jpnurmi/yaru_window.dart.git
      ref: linux-app-exit-request
      path: packages/yaru_window_platform_interface
Feichtmeier commented 1 year ago

w00t it works! :) Proof:

Thank you :+1: :muscle: :brain:

Bildschirmaufzeichnung vom 2023-06-21, 13-06-54.webm