I am building a desktop app with Flutter for Windows and MacOS. When the user clicks a button on the initial app window then a second form window opens. I am using the desktop_multi_window package to open the second window.
While the second form window is open I would like user interaction with the initial app window to be completely disabled. When the second form window closes then the initial app window should be renabled. I believe this is a common desktop app pattern.