detach method

void detach(
  1. ValueChanged<int> select
)

Drops the bar when select is still the bound callback.

Implementation

void detach(ValueChanged<int> select) {
  if (!identical(_select, select)) {
    return;
  }
  _select = null;
}