of static method
Returns the nearest BottomBarController of the given BuildContext
Implementation
static BottomBarController? of(BuildContext context) {
final _BottomBarControllerScope? scope =
context.findAncestorWidgetOfExactType<_BottomBarControllerScope>();
return scope?.controller;
}