NavigationBody constructor
const
NavigationBody({})
Creates a navigation body.
index must be greater than 0 and less than children.length
Implementation
const NavigationBody({
Key? key,
required this.index,
required this.children,
this.transitionBuilder,
this.animationCurve,
this.animationDuration,
}) : assert(index >= 0 && index <= children.length),
super(key: key);