SwitchTileTheme constructor

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

Creates a theme that controls how descendant switch should look like.

Implementation

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