init method
dynamic
init(
- BuildContext context, {
- required String panelTitle,
- required PanelKitTheme theme,
- required PanelKitPage startPage,
- required String pageTitle,
Implementation
init(
BuildContext context, {
required String panelTitle,
required PanelKitTheme theme,
required PanelKitPage startPage,
required String pageTitle,
}) {
_theme = theme;
_notification = PanelKitNotification(context: context);
_dialog = PanelKitDialog(context: context);
_panelTitle = panelTitle;
_navigator = PanelKitNavigator(
restorationScopeId: navigationRestorationScopeId,
startPage: startPage,
);
notifyListeners();
}