expand method

void expand()

Expand the sheet to its maximum height.

Implementation

void expand() {
  if (_isExpanded) return;
  _isExpanded = true;
  _animateTo(_computeExpandedHeight(context));
  widget.onExpansionChanged?.call(true);
}