of static method

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

Defaults to ThemeData.pillButtonBarTheme

Typical usage is as follows:

PillButtonBarThemeData theme = PillButtonBarTheme.of(context);

Implementation

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