bind method
CellSwitchListTile
bind({
- ValueCell<
bool> ? enabled, - MutableCell<
bool> ? value, - ValueCell<
Color?> ? activeColor, - ValueCell<
Color?> ? activeTrackColor, - ValueCell<
Color?> ? inactiveThumbColor, - ValueCell<
Color?> ? inactiveTrackColor, - ValueCell<
ImageProvider< ? activeThumbImage,Object> ?> - ValueCell<
void Function(Object, StackTrace?)?> ? onActiveThumbImageError, - ValueCell<
ImageProvider< ? inactiveThumbImage,Object> ?> - ValueCell<
void Function(Object, StackTrace?)?> ? onInactiveThumbImageError, - ValueCell<
WidgetStateProperty< ? thumbColor,Color?> ?> - ValueCell<
WidgetStateProperty< ? trackColor,Color?> ?> - ValueCell<
WidgetStateProperty< ? trackOutlineColor,Color?> ?> - ValueCell<
WidgetStateProperty< ? thumbIcon,Icon?> ?> - ValueCell<
MaterialTapTargetSize?> ? materialTapTargetSize, - ValueCell<
DragStartBehavior> ? dragStartBehavior, - ValueCell<
MouseCursor?> ? mouseCursor, - ValueCell<
WidgetStateProperty< ? overlayColor,Color?> ?> - ValueCell<
double?> ? splashRadius, - ValueCell<
FocusNode?> ? focusNode, - ValueCell<
void Function(bool)?> ? onFocusChange, - ValueCell<
bool> ? autofocus, - ValueCell<
Color?> ? tileColor, - ValueCell<
Widget?> ? title, - ValueCell<
Widget?> ? subtitle, - ValueCell<
bool> ? isThreeLine, - ValueCell<
bool?> ? dense, - ValueCell<
EdgeInsetsGeometry?> ? contentPadding, - ValueCell<
Widget?> ? secondary, - ValueCell<
bool> ? selected, - ValueCell<
ListTileControlAffinity> ? controlAffinity, - ValueCell<
ShapeBorder?> ? shape, - ValueCell<
Color?> ? selectedTileColor, - ValueCell<
VisualDensity?> ? visualDensity, - ValueCell<
bool?> ? enableFeedback, - ValueCell<
Color?> ? hoverColor,
Implementation
CellSwitchListTile bind({
ValueCell<bool>? enabled,
MutableCell<bool>? value,
ValueCell<Color?>? activeColor,
ValueCell<Color?>? activeTrackColor,
ValueCell<Color?>? inactiveThumbColor,
ValueCell<Color?>? inactiveTrackColor,
ValueCell<ImageProvider<Object>?>? activeThumbImage,
ValueCell<void Function(Object, StackTrace?)?>? onActiveThumbImageError,
ValueCell<ImageProvider<Object>?>? inactiveThumbImage,
ValueCell<void Function(Object, StackTrace?)?>? onInactiveThumbImageError,
ValueCell<WidgetStateProperty<Color?>?>? thumbColor,
ValueCell<WidgetStateProperty<Color?>?>? trackColor,
ValueCell<WidgetStateProperty<Color?>?>? trackOutlineColor,
ValueCell<WidgetStateProperty<Icon?>?>? thumbIcon,
ValueCell<MaterialTapTargetSize?>? materialTapTargetSize,
ValueCell<DragStartBehavior>? dragStartBehavior,
ValueCell<MouseCursor?>? mouseCursor,
ValueCell<WidgetStateProperty<Color?>?>? overlayColor,
ValueCell<double?>? splashRadius,
ValueCell<FocusNode?>? focusNode,
ValueCell<void Function(bool)?>? onFocusChange,
ValueCell<bool>? autofocus,
ValueCell<Color?>? tileColor,
ValueCell<Widget?>? title,
ValueCell<Widget?>? subtitle,
ValueCell<bool>? isThreeLine,
ValueCell<bool?>? dense,
ValueCell<EdgeInsetsGeometry?>? contentPadding,
ValueCell<Widget?>? secondary,
ValueCell<bool>? selected,
ValueCell<ListTileControlAffinity>? controlAffinity,
ValueCell<ShapeBorder?>? shape,
ValueCell<Color?>? selectedTileColor,
ValueCell<VisualDensity?>? visualDensity,
ValueCell<bool?>? enableFeedback,
ValueCell<Color?>? hoverColor,
}) =>
CellSwitchListTile(
enabled: enabled ?? this.enabled,
value: value ?? this.value,
activeColor: activeColor ?? this.activeColor,
activeTrackColor: activeTrackColor ?? this.activeTrackColor,
inactiveThumbColor: inactiveThumbColor ?? this.inactiveThumbColor,
inactiveTrackColor: inactiveTrackColor ?? this.inactiveTrackColor,
activeThumbImage: activeThumbImage ?? this.activeThumbImage,
onActiveThumbImageError:
onActiveThumbImageError ?? this.onActiveThumbImageError,
inactiveThumbImage: inactiveThumbImage ?? this.inactiveThumbImage,
onInactiveThumbImageError:
onInactiveThumbImageError ?? this.onInactiveThumbImageError,
thumbColor: thumbColor ?? this.thumbColor,
trackColor: trackColor ?? this.trackColor,
trackOutlineColor: trackOutlineColor ?? this.trackOutlineColor,
thumbIcon: thumbIcon ?? this.thumbIcon,
materialTapTargetSize:
materialTapTargetSize ?? this.materialTapTargetSize,
dragStartBehavior: dragStartBehavior ?? this.dragStartBehavior,
mouseCursor: mouseCursor ?? this.mouseCursor,
overlayColor: overlayColor ?? this.overlayColor,
splashRadius: splashRadius ?? this.splashRadius,
focusNode: focusNode ?? this.focusNode,
onFocusChange: onFocusChange ?? this.onFocusChange,
autofocus: autofocus ?? this.autofocus,
tileColor: tileColor ?? this.tileColor,
title: title ?? this.title,
subtitle: subtitle ?? this.subtitle,
isThreeLine: isThreeLine ?? this.isThreeLine,
dense: dense ?? this.dense,
contentPadding: contentPadding ?? this.contentPadding,
secondary: secondary ?? this.secondary,
selected: selected ?? this.selected,
controlAffinity: controlAffinity ?? this.controlAffinity,
shape: shape ?? this.shape,
selectedTileColor: selectedTileColor ?? this.selectedTileColor,
visualDensity: visualDensity ?? this.visualDensity,
enableFeedback: enableFeedback ?? this.enableFeedback,
hoverColor: hoverColor ?? this.hoverColor,
);