SwitchTheme constructor Null safety
- {Key? key,
- required SwitchThemeData data,
- required Widget child}
Constructs a switch theme that configures all descendant Switch widgets.
Implementation
const SwitchTheme({
super.key,
required this.data,
required super.child,
});