positioning property
How the snaps will be positioned:
- SnapPositioning.relativeToAvailableSpace positions the snaps relative to the total available space (that is, the maximum height the widget can expand to). All values must be between 0 and 1.
- SnapPositioning.relativeToSheetHeight positions the snaps relative to the total size of the sheet itself. All values must be between 0 and 1.
- SnapPositioning.pixelOffset positions the snaps at the given pixel offset. If the sheet is smaller than the offset, it will snap to the max possible offset.
Implementation
final SnapPositioning positioning;