of static method

TabBarTheme of(
  1. BuildContext context
)

The data from the closest TabBarTheme instance given the build context.

Implementation

static TabBarTheme of(BuildContext context) {
  return Theme.of(context).tabBarTheme;
}