FieldStyleSwitchBox constructor

FieldStyleSwitchBox({
  1. MouseCursor? mouseCursor,
  2. Color? activeThumbColor,
  3. Color? hoverColor,
  4. Color? overlayColor,
  5. double? splashRadius,
  6. MaterialTapTargetSize? materialTapTargetSize,
  7. VisualDensity? visualDensity,
  8. FocusNode? focusNode,
  9. bool autofocus = false,
  10. ShapeBorder? shape,
  11. bool? enabled,
  12. Color? tileColor,
  13. Widget? title,
  14. TextStyle? titleTextStyle,
  15. Widget? subtitle,
  16. bool isThreeLine = false,
  17. bool? dense,
  18. Widget? secondary,
  19. bool selected = false,
  20. ListTileControlAffinity controlAffinity = ListTileControlAffinity.platform,
  21. EdgeInsetsGeometry? contentPadding,
  22. Color? selectedTileColor,
  23. ValueChanged<bool?>? onFocusChange,
  24. bool? enableFeedback,
  25. Color? activeTrackColor,
  26. Color? inactiveThumbColor,
  27. Color? inactiveTrackColor,
  28. ImageProvider<Object>? activeThumbImage,
  29. ImageErrorListener? onActiveThumbImageError,
  30. ImageProvider<Object>? inactiveThumbImage,
  31. ImageErrorListener? onInactiveThumbImageError,
  32. Color? thumbColor,
  33. Color? trackColor,
  34. Color? trackOutlineColor,
  35. Widget? thumbIcon,
  36. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  37. double? headerSpacing = 5.0,
  38. double? footerSpacing = 5.0,
})

Implementation

FieldStyleSwitchBox({
  this.mouseCursor,
  this.activeThumbColor,
  this.hoverColor,
  this.overlayColor,
  this.splashRadius,
  this.materialTapTargetSize,
  this.visualDensity,
  this.focusNode,
  this.autofocus = false,
  this.shape,
  this.enabled,
  this.tileColor,
  this.title,
  this.titleTextStyle,
  this.subtitle,
  this.isThreeLine = false,
  this.dense,
  this.secondary,
  this.selected = false,
  this.controlAffinity = ListTileControlAffinity.platform,
  this.contentPadding,
  this.selectedTileColor,
  this.onFocusChange,
  this.enableFeedback,
  this.activeTrackColor,
  this.inactiveThumbColor,
  this.inactiveTrackColor,
  this.activeThumbImage,
  this.onActiveThumbImageError,
  this.inactiveThumbImage,
  this.onInactiveThumbImageError,
  this.thumbColor,
  this.trackColor,
  this.trackOutlineColor,
  this.thumbIcon,
  this.dragStartBehavior = DragStartBehavior.start,
  super.headerSpacing,
  super.footerSpacing,
});