bind method

CellSwitchListTile bind({
  1. ValueCell<bool>? enabled,
  2. MutableCell<bool>? value,
  3. ValueCell<Color?>? activeColor,
  4. ValueCell<Color?>? activeTrackColor,
  5. ValueCell<Color?>? inactiveThumbColor,
  6. ValueCell<Color?>? inactiveTrackColor,
  7. ValueCell<ImageProvider<Object>?>? activeThumbImage,
  8. ValueCell<void Function(Object, StackTrace?)?>? onActiveThumbImageError,
  9. ValueCell<ImageProvider<Object>?>? inactiveThumbImage,
  10. ValueCell<void Function(Object, StackTrace?)?>? onInactiveThumbImageError,
  11. ValueCell<WidgetStateProperty<Color?>?>? thumbColor,
  12. ValueCell<WidgetStateProperty<Color?>?>? trackColor,
  13. ValueCell<WidgetStateProperty<Color?>?>? trackOutlineColor,
  14. ValueCell<WidgetStateProperty<Icon?>?>? thumbIcon,
  15. ValueCell<MaterialTapTargetSize?>? materialTapTargetSize,
  16. ValueCell<DragStartBehavior>? dragStartBehavior,
  17. ValueCell<MouseCursor?>? mouseCursor,
  18. ValueCell<WidgetStateProperty<Color?>?>? overlayColor,
  19. ValueCell<double?>? splashRadius,
  20. ValueCell<FocusNode?>? focusNode,
  21. ValueCell<void Function(bool)?>? onFocusChange,
  22. ValueCell<bool>? autofocus,
  23. ValueCell<Color?>? tileColor,
  24. ValueCell<Widget?>? title,
  25. ValueCell<Widget?>? subtitle,
  26. ValueCell<bool>? isThreeLine,
  27. ValueCell<bool?>? dense,
  28. ValueCell<EdgeInsetsGeometry?>? contentPadding,
  29. ValueCell<Widget?>? secondary,
  30. ValueCell<bool>? selected,
  31. ValueCell<ListTileControlAffinity>? controlAffinity,
  32. ValueCell<ShapeBorder?>? shape,
  33. ValueCell<Color?>? selectedTileColor,
  34. ValueCell<VisualDensity?>? visualDensity,
  35. ValueCell<bool?>? enableFeedback,
  36. 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,
    );