bind method

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

Implementation

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