ToggleButtonsTheme constructor Null safety
- {Key? key,
- required ToggleButtonsThemeData data,
- required Widget child}
Creates a toggle buttons theme that controls the color and border parameters for ToggleButtons.
The data argument must not be null.
Implementation
const ToggleButtonsTheme({
super.key,
required this.data,
required super.child,
}) : assert(data != null);