NavPages constructor
const
NavPages({
- Key? key,
- List<
Widget> children = const [], - NavPagesDirection direction = NavPagesDirection.vertical,
- List<
NrButtonWidget> buttons = const [], - List<
NrButtonWidget> actions = const [], - bool expandable = false,
- bool expanded = true,
- double expandableButtonHeight = 40,
- Widget? header,
- bool useFullHeader = false,
- bool fullscreen = false,
- bool showActionSelectedIndex = true,
- bool showSecondaryActionSelectedIndex = true,
Creates a NavPages widget.
The children
parameter is required and should contain the pages
to be displayed. The buttons
parameter should contain navigation
buttons corresponding to each page.
Implementation
const NavPages({
super.key,
this.children = const [],
this.direction = NavPagesDirection.vertical,
this.navrailPosition = NavPagesRailPosition.left,
this.buttons = const [],
this.actions = const [],
this.expandable = false,
this.expanded = true,
this.expandableButtonHeight = 40,
this.navrailMinWidth = 0,
this.navrailMaxWidth = 0,
this.navrailMinHeight = 0,
this.navrailMaxHeight = 0,
this.navrailVerticleScrolling = false,
this.navrailLeading,
this.navrailSmallLeading,
this.header,
this.useFullHeader = false,
this.footer,
this.useFullFooter = false,
this.navrailLeadingOnTop = false,
this.fullscreen = false,
this.showActionSelectedIndex = true,
this.showSecondaryActionSelectedIndex = true,
});