-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
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:
WindowManipulator
..makeTitlebarTransparent()
..enableFullSizeContentView()
..etcIt 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 or WindowManipulator.primary, etc.
Adrian-Samoticha and parkerhutchinson
Metadata
Metadata
Assignees
Labels
No labels