Application<S, T extends AbstractTheme> constructor
Application<S, T extends AbstractTheme> ({})
Implementation
Application({
required this.state,
required this.title,
required T initialTheme,
Screen? initialScreen,
required this.screens,
Widget Function()? createHomeWidget,
TransitionManager? transitionManager
}):
history = HistoryManager((initialScreen ?? screens.first).createState()),
_theme = initialTheme,
this.createHomeWidget = createHomeWidget ?? (() => Home()),
this.transitionManager = transitionManager ?? TransitionManager.standard;