findByWidget method
Implementation
NavigationItemState? findByWidget(Widget widget) {
return _contentBuilders.keys
.where((key) => key.widget == widget)
.firstOrNull;
}
NavigationItemState? findByWidget(Widget widget) {
return _contentBuilders.keys
.where((key) => key.widget == widget)
.firstOrNull;
}