registerOpenRow method

void registerOpenRow(
  1. GlassSwipeActionsControllerInterface row
)

Registers a row that has just opened or started dragging, closing any previously open row.

Implementation

void registerOpenRow(GlassSwipeActionsControllerInterface row) {
  if (_openRow != null && _openRow != row) {
    final prev = _openRow;
    _openRow = null;
    prev?.close();
  }
  _openRow = row;
}