DraftModePage constructor
const
DraftModePage({
- Key? key,
- required Widget body,
- String? topLeadingText,
- Widget? topLeading = defaultLeading,
- List<
Widget> ? topTrailing, - List<
DraftModeUIPageNavigationItemBottom> ? bottomLeading, - DraftModeUIPageNavigationItemBottom? bottomCenter,
- List<
DraftModeUIPageNavigationItemBottom> ? bottomTrailing, - Future<
bool> onSavePressed()?, - double? horizontalContainerPadding,
- double? verticalContainerPadding,
- Color? containerBackgroundColor,
- 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,
});