currentPosition property

double currentPosition

Getting the current position of the sheet. This is calculated from bottom to top. That is, when the grabbing widget is at the bottom, the currentPosition is close to zero. If the grabbing widget is at the top, the currentPosition is close the the height of the available height of the SnappingSheet.

Implementation

double get currentPosition {
  _checkAttachment();
  return _state!._currentPosition;
}