merge static method
Creates a button theme that controls how descendant RadioButtons should look like, and merges in the current radio button theme, if any.
Implementation
static Widget merge({
Key? key,
required RadioButtonThemeData data,
required Widget child,
}) {
return Builder(builder: (BuildContext context) {
return RadioButtonTheme(
key: key,
data: _getInheritedThemeData(context).merge(data),
child: child,
);
});
}