of static method

ZdsBottomBarThemeData of(
  1. BuildContext context
)

Returns the ZdsBottomBarThemeData object of the given type for the widget tree that corresponds to the given context.

Implementation

static ZdsBottomBarThemeData of(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<ZdsBottomBarTheme>()!.data;
}