expand method

void expand()

Implementation

void expand() {
  if (_isExpanded || !_settings.allowExpand) return;
  _isExpanded = true;
  _position = _position.copyWith(offset: _getSafeOffset(_position.offset));
  notify();
}