of static method

Returns the data from the closest RadioButtonTheme ancestor. If there is no ancestor, it returns FluentThemeData.radioButtonTheme. Applications can assume that the returned value will not be null.

Typical usage is as follows:

RadioButtonThemeData theme = RadioButtonTheme.of(context);

Implementation

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