SwitchTheme constructor
const
SwitchTheme({
- Key? key,
- required SwitchThemeData data,
- required Widget child,
Creates a theme that controls how descendant switch should look like.
Implementation
const SwitchTheme({
Key? key,
required this.data,
required Widget child,
}) : super(key: key, child: child);