# onWindowClose method

1. @override

void onWindowClose()
override

Emitted when the window is going to be closed.

## Implementation

    @override
    void onWindowClose() async {
      SystemNavigator.pop();
      exit(0);
    }

1. wsl2distromanager
2. root_screen
3. RootPageState
4. onWindowClose method

##### RootPageState class

1. Constructors
2. RootPageState
3. Properties
4. context
5. hashCode
6. loading
7. mounted
8. runtimeType
9. searchController
10. searchFocusNode
11. searchKey
12. status
13. statusLeading
14. statusWidget
15. value
16. viewKey
17. widget
18. Methods
19. activate
20. build
21. deactivate
22. debugFillProperties
23. didChangeDependencies
24. didUpdateWidget
25. dispose
26. initState
27. noSuchMethod
28. onWindowBlur
29. onWindowClose
30. onWindowDocked
31. onWindowEnterFullScreen
32. onWindowEvent
33. onWindowFocus
34. onWindowLeaveFullScreen
35. onWindowMaximize
36. onWindowMinimize
37. onWindowMove
38. onWindowMoved
39. onWindowResize
40. onWindowResized
41. onWindowRestore
42. onWindowUndocked
43. onWindowUnmaximize
44. reassemble
45. runner
46. setState
47. statusMsg
48. toDiagnosticsNode
49. toString
50. toStringShort
51. Operators
52. operator ==