InteractiveOptions<T> constructor

const InteractiveOptions<T>({
  1. InteractiveEnabledGestures enabledGestures = const InteractiveEnabledGestures(),
  2. AutoPanOnDragOptions autoPanOnDrag = const AutoPanOnDragOptions(),
  3. bool moveOnTap = false,
  4. bool centerOnTap = true,
  5. InteractiveCallback<T>? onActive,
  6. InteractiveCallback<T>? onTap,
  7. InteractiveCallback<T>? onLongPress,
  8. InteractiveCallback<T>? onHovered,
  9. bool saveOnExit = true,
  10. bool autoSave = false,
  11. Duration autoSaveDelay = const Duration(milliseconds: 700),
  12. Duration mergeDelay = const Duration(milliseconds: 150),
  13. OnEntityDeltaCallback<T>? onSaved,
  14. OnEntityChangedCallback<T>? onAdded,
  15. OnEntityChangedCallback<T>? onRemoved,
  16. OnEntityChangedCallback<T>? onUpdated,
  17. OnSpatialUpdateCallback<T>? onSpatialUpdate,
  18. ValueChanged<bool>? onEditModeChanged,
})

Implementation

const InteractiveOptions({
  this.enabledGestures = const InteractiveEnabledGestures(),
  this.autoPanOnDrag = const AutoPanOnDragOptions(),
  this.moveOnTap = false,
  this.centerOnTap = true,
  this.onActive,
  this.onTap,
  this.onLongPress,
  this.onHovered,
  this.saveOnExit = true,
  this.autoSave = false,
  this.autoSaveDelay = const Duration(milliseconds: 700),
  this.mergeDelay = const Duration(milliseconds: 150),
  this.onSaved,
  this.onAdded,
  this.onRemoved,
  this.onUpdated,
  this.onSpatialUpdate,
  this.onEditModeChanged,
});