of static method

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

Defaults to FluentThemeData.checkboxTheme

Typical usage is as follows:

CheckboxThemeData theme = CheckboxTheme.of(context);

Implementation

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