FieldStyleSwitchBox constructor
FieldStyleSwitchBox({
- MouseCursor? mouseCursor,
- Color? activeThumbColor,
- Color? hoverColor,
- Color? overlayColor,
- double? splashRadius,
- MaterialTapTargetSize? materialTapTargetSize,
- VisualDensity? visualDensity,
- FocusNode? focusNode,
- bool autofocus = false,
- ShapeBorder? shape,
- bool? enabled,
- Color? tileColor,
- Widget? title,
- TextStyle? titleTextStyle,
- Widget? subtitle,
- bool isThreeLine = false,
- bool? dense,
- Widget? secondary,
- bool selected = false,
- ListTileControlAffinity controlAffinity = ListTileControlAffinity.platform,
- EdgeInsetsGeometry? contentPadding,
- Color? selectedTileColor,
- ValueChanged<
bool?> ? onFocusChange, - bool? enableFeedback,
- double? headerSpacing = 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,
});