of static method

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

Defaults to ThemeData.splitButtonTheme

Typical usage is as follows:

SplitButtonThemeData theme = SplitButtonTheme.of(context);

Implementation

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