DraftModePage constructor

const DraftModePage({
  1. Key? key,
  2. required Widget body,
  3. String? navigationTitle,
  4. String? topLeadingText,
  5. Widget? topLeading = defaultLeading,
  6. List<Widget>? topTrailing,
  7. List<DraftModeUIPageNavigationItemBottom>? bottomLeading,
  8. DraftModeUIPageNavigationItemBottom? bottomCenter,
  9. List<DraftModeUIPageNavigationItemBottom>? bottomTrailing,
  10. Future<bool> onSavePressed()?,
  11. double? horizontalContainerPadding,
  12. double? verticalContainerPadding,
  13. Color? containerBackgroundColor,
  14. bool transitionBetweenRoutes = true,
})

Implementation

const DraftModePage({
  super.key,
  required this.body,
  this.navigationTitle,
  this.topLeadingText,
  this.topLeading = defaultLeading,
  this.topTrailing,
  this.bottomLeading,
  this.bottomCenter,
  this.bottomTrailing,
  this.onSavePressed,
  this.horizontalContainerPadding,
  this.verticalContainerPadding,
  this.containerBackgroundColor,
  this.transitionBetweenRoutes = true,
});