bitsdojo_window icon indicating copy to clipboard operation
bitsdojo_window copied to clipboard

Callback for when the Window is visible;

Open alesimula opened this issue 3 years ago • 0 comments

Hello, would it be possible to have a callback that gets executed when the UI is visible? Something maybe like appWindow.doWhenWindowVisible(VoidCallback callback) ?

I need to do some heavy computation on an isolate I have started on main(), but only when the UI is loaded (apparently, disk writes on isolates can hang the UI thread); appWindow.isVisible works, but it seems there is no way to listen for when this value is updated

alesimula avatar Feb 13 '22 22:02 alesimula