NikuSwitchListTile constructor

NikuSwitchListTile(
  1. bool? value, {
  2. Key? key,
  3. ValueChanged<bool>? onChanged,
  4. Color? activeColor,
  5. Color? activeTrackColor,
  6. Color? inactiveThumbColor,
  7. Color? inactiveTrackColor,
  8. ImageProvider<Object>? activeThumbImage,
  9. ImageErrorListener? onActiveThumbImageError,
  10. ImageProvider<Object>? inactiveThumbImage,
  11. ImageErrorListener? onInactiveThumbImageError,
  12. NikuState<Color?>? thumbColorState,
  13. NikuState<Color?>? trackColorState,
  14. NikuState<Color?>? trackOutlineColorState,
  15. NikuState<Icon?>? thumbIconState,
  16. MaterialTapTargetSize? materialTapTargetSize,
  17. DragStartBehavior? dragStartBehavior,
  18. MouseCursor? mouseCursor,
  19. NikuState<Color?>? overlayColorState,
  20. double? splashRadius,
  21. FocusNode? focusNode,
  22. ValueChanged<bool>? onFocusChange,
  23. bool? autofocus,
  24. Color? tileColor,
  25. Widget? title,
  26. Widget? subtitle,
  27. Widget? secondary,
  28. bool? isThreeLine,
  29. bool? dense,
  30. NikuEdgeInsets? contentPadding,
  31. bool? selected,
  32. ListTileControlAffinity? controlAffinity,
  33. ShapeBorder? shape,
  34. Color? selectedTileColor,
  35. VisualDensity? visualDensity,
  36. bool? enableFeedback,
  37. Color? hoverColor,
  38. bool? applyCupertinoTheme,
})

Implementation

NikuSwitchListTile(
  this.value, {
  this.key,
  this.onChanged,
  this.activeColor,
  this.activeTrackColor,
  this.inactiveThumbColor,
  this.inactiveTrackColor,
  this.activeThumbImage,
  this.onActiveThumbImageError,
  this.inactiveThumbImage,
  this.onInactiveThumbImageError,
  this.thumbColorState,
  this.trackColorState,
  this.trackOutlineColorState,
  this.thumbIconState,
  this.materialTapTargetSize,
  this.dragStartBehavior,
  this.mouseCursor,
  this.overlayColorState,
  this.splashRadius,
  this.focusNode,
  this.onFocusChange,
  this.autofocus,
  this.tileColor,
  this.title,
  this.subtitle,
  this.secondary,
  this.isThreeLine,
  this.dense,
  this.contentPadding,
  this.selected,
  this.controlAffinity,
  this.shape,
  this.selectedTileColor,
  this.visualDensity,
  this.enableFeedback,
  this.hoverColor,
  this.applyCupertinoTheme,
}) : super(key: key);