updateItems method
void
updateItems()
Implementation
void updateItems(){
for(var i in widget.navItems){
(i.key! as GlobalKey<NavState>).currentState?.setState(() {});
}
for(var i in widget.bottomNavItems){
(i.key! as GlobalKey<NavState>).currentState?.setState(() {});
}
if(widget.floatingItem != null){
(widget.floatingItem!.key! as GlobalKey<FloatingNavState>).currentState?.setState((){});
}
}