new AppTransitionController(app)
AppTransitionController controlls the opening and closing animation
of the given appWindow.
Flow chart

State machine

Parameters:
| Name | Type | Description |
|---|---|---|
| app | AppWindow | The app window instance which this controller belongs to. |