EcpNavBarView constructor
const
EcpNavBarView({
- Key? key,
- required List<
Widget> pages, - EcpNavBarViewController? controller,
- int initPage = 0,
- int? shrinkIndex,
- BottomNavigationBarItem? shrinkBar,
- bool pageScrollable = true,
- PageChanged? onPageChanged,
- PageChanged? onRepeatClick,
- int? cachedExtend,
Implementation
const EcpNavBarView({
super.key,
required this.navBars,
required this.pages,
this.controller,
this.initPage = 0,
this.shrinkIndex,
this.shrinkBar,
this.pageScrollable = true,
this.onPageChanged,
this.onRepeatClick,
this.cachedExtend,
this.bottomNavBarBgColor,
}) : assert(navBars.length == pages.length);