collapse method
void
collapse()
Implementation
void collapse() {
if (!_isExpanded) return;
_isExpanded = false;
_position = _position.copyWith(offset: _getSafeOffset(_position.offset));
notify();
}
void collapse() {
if (!_isExpanded) return;
_isExpanded = false;
_position = _position.copyWith(offset: _getSafeOffset(_position.offset));
notify();
}