The Application class is the starting point, and there must be at least one class that extends the App class. It specifies the initial View that contains the display logic and layout of nodes that are managed as singleton:
/** * Starting point of the application */ class DictionaryApp : App(MainView::class, Styles::class)
We need to specify the primary View to the App class as the first constructor parameter. The second Styles parameter is optional and contains the Stylesheet method.