RadioTheme constructor Null safety

const RadioTheme(
  1. {Key? key,
  2. required RadioThemeData data,
  3. required Widget child}
)

Constructs a radio theme that configures all descendant Radio widgets.

Implementation

const RadioTheme({
  Key? key,
  required this.data,
  required Widget child,
}) : super(key: key, child: child);