getScreen static method
Implementation
static BottomNavScreen? getScreen(BuildContext context) {
BottomNavScreen? screen =
context.dependOnInheritedWidgetOfExactType<BottomNavScreen>();
if (screen != null) {
return screen;
}
return null;
}