GgNavigationPage constructor

GgNavigationPage({
  1. Key? key,
  2. required Widget pageContent(
    1. BuildContext
    ),
  3. Map<String, Widget>? children,
  4. Map<String, String> semanticLabels = const {},
  5. bool showBackButton = true,
  6. bool showCloseButton = true,
  7. VoidCallback? onShow,
  8. VoidCallback? onNavigateToParent,
  9. void onNavigateToChild(
    1. String childRoute
    )?,
})

Implementation

GgNavigationPage({
  super.key,
  required this.pageContent,
  this.children,
  this.semanticLabels = const {},
  this.showBackButton = true,
  this.showCloseButton = true,
  this.onShow,
  this.onNavigateToParent,
  this.onNavigateToChild,
}) {
  _checkChildren(children);
}