partialExpand method
Collapse the sheet to its peek height.
Implementation
void partialExpand() {
if (!_isExpanded) return;
_isExpanded = false;
_animateTo(widget.sheetPeekHeight);
widget.onExpansionChanged?.call(false);
}
Collapse the sheet to its peek height.
void partialExpand() {
if (!_isExpanded) return;
_isExpanded = false;
_animateTo(widget.sheetPeekHeight);
widget.onExpansionChanged?.call(false);
}