You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently waiting for Flutter’s multi-window support to drop before implementing this. This way I will know what the Swift side is going to look like while designing the API. Plus, I would like to avoid breaking changes until then.
Apparently, Flutter’s development on the desktop side is currently on hold, which makes it unlikely that multi-window support will drop any time soon. We are currently discussing supporting multiple windows through window_manager_plus internally, however haven’t really settled on anything, yet.
WindowManipulator
is completely based on static methods. This seems to create at least three limitations:Developers can't use Dart's built-in builder syntax:
It seems unlikely that this API will work in a world with multiple windows.
The implementation can't be replaced with a fake version for tests.
All of these issues could be alleviated by using a typical singleton implementation:
WindowManipulator.instance
orWindowManipulator.primary
, etc.The text was updated successfully, but these errors were encountered: