UISwitcherThemeData.config constructor

const UISwitcherThemeData.config({
  1. double? width = 48,
  2. double? height = 24,
  3. double? handSize = 20,
  4. EdgeInsets? padding = const EdgeInsets.all(3),
  5. Color? activeColor = Colors.blue,
  6. Color? disabledColor = Colors.grey,
  7. Color? foregroundColor = Colors.white,
  8. Color? backgroundColor = Colors.blueGrey,
})

Implementation

const UISwitcherThemeData.config({
  this.width = 48,
  this.height = 24,
  this.handSize = 20,
  this.padding = const EdgeInsets.all(3),
  this.activeColor = Colors.blue,
  this.disabledColor = Colors.grey,
  this.foregroundColor = Colors.white,
  this.backgroundColor = Colors.blueGrey,
});