jumpToElement method

void jumpToElement({
  1. required dynamic identifier,
  2. double alignment = 0,
  3. bool automaticAlignment = true,
})

Implementation

void jumpToElement({
  required dynamic identifier,
  double alignment = 0,
  bool automaticAlignment = true,
}) {
  return jumpTo(
    index: _findIndexByIdentifier(identifier),
    alignment: alignment,
    automaticAlignment: automaticAlignment,
  );
}