MainWrapper constructor
const
MainWrapper({})
Implementation
const MainWrapper({
super.key,
this.child,
required this.items,
required this.routePaths,
required this.pages,
this.onTabTap,
}) : assert(
items.length == routePaths.length,
"Items and routePaths must have same length",
),
assert(
items.length == pages.length,
"Items and pages must have same length",
);