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