of static method

The data from the closest instance of this class that encloses the given context.

Defaults to ThemeData.bottomNavigationTheme

Typical usage is as follows:

BottomNavigationThemeData theme = BottomNavigationTheme.of(context);

Implementation

static BottomNavigationThemeData of(BuildContext context) {
  assert(debugCheckHasFluentTheme(context));
  return BottomNavigationThemeData.standard(FluentTheme.of(context)).merge(
    _getInheritedBottomNavigationThemeData(context),
  );
}