removeAllTargets method

void removeAllTargets(
  1. {bool drag = true,
  2. bool over = true,
  3. bool out = true}
)

Remove all targets

Implementation

void removeAllTargets({bool drag: true, bool over: true, bool out: true}) {
  _logger.fine("removing all elements");
  if(drag) removeTargets(new List.from(_targets));
  if(out) removeTargets(new List.from(_outTargets));
  if(over) removeTargets(new List.from(_overTargets));
}