creationFinished method

ReorderableEntity creationFinished({
  1. required Offset? offset,
  2. required Size size,
})

Implementation

ReorderableEntity creationFinished({
  required Offset? offset,
  required Size size,
}) {
  return ReorderableEntity(
    key: key,
    originalOrderId: originalOrderId,
    updatedOrderId: updatedOrderId,
    originalOffset: originalOffset,
    updatedOffset: offset ?? updatedOffset,
    size: size,
    isBuildingOffset: false,
    hasSwappedOrder: false, // TODO(karvulf): false wirklich richtig?
  );
}