InteractiveOptions<T> constructor
const
InteractiveOptions<T> ({
- InteractiveEnabledGestures enabledGestures = const InteractiveEnabledGestures(),
- AutoPanOnDragOptions autoPanOnDrag = const AutoPanOnDragOptions(),
- bool moveOnTap = false,
- bool centerOnTap = true,
- InteractiveCallback<
T> ? onActive, - InteractiveCallback<
T> ? onTap, - InteractiveCallback<
T> ? onLongPress, - InteractiveCallback<
T> ? onHovered, - bool saveOnExit = true,
- bool autoSave = false,
- Duration autoSaveDelay = const Duration(milliseconds: 700),
- Duration mergeDelay = const Duration(milliseconds: 150),
- OnEntityDeltaCallback<
T> ? onSaved, - OnEntityChangedCallback<
T> ? onAdded, - OnEntityChangedCallback<
T> ? onRemoved, - OnEntityChangedCallback<
T> ? onUpdated, - OnSpatialUpdateCallback<
T> ? onSpatialUpdate, - 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,
});