softReset method

void softReset(
  1. Offset _constraintsMin,
  2. Offset _constraintsMax
)

Implementation

void softReset(Offset _constraintsMin, Offset _constraintsMax) {
  constraintsMin = _constraintsMin;
  constraintsMax = _constraintsMax;
  viewHeight = -1;
  viewWidth = -1;
  viewOrigin = null;
  boundHeight = -1;
  boundWidth = -1;
  boundOrigin = null;
  if (useFlick && flickController.currentState != null) flickController.currentState!.softReset(_constraintsMin, _constraintsMax);
}