Widget.onWindowStateEvent

class Widget
bool
onWindowStateEvent