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. double? headerSpacing = 5.0,
  26. 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,
  super.headerSpacing,
  super.footerSpacing,
});