NavigationMenuContentList constructor
const
NavigationMenuContentList({})
Creates a NavigationMenuContentList with the specified layout properties.
The children parameter is required and should contain the items
to be arranged in the grid. The layout properties control the
grid's appearance and spacing.
Parameters:
children(List<Widget>, required): Items to arrange in gridcrossAxisCount(int, default: 3): Number of columns per rowspacing(double?, optional): Horizontal spacing between itemsrunSpacing(double?, optional): Vertical spacing between rowsreverse(bool, default: false): Whether to reverse column order
Example:
NavigationMenuContentList(
crossAxisCount: 2,
spacing: 20.0,
children: menuItems,
)
Implementation
const NavigationMenuContentList({
super.key,
required this.children,
this.crossAxisCount = 3,
this.spacing,
this.runSpacing,
this.reverse = false,
});