mainAxisMaxRatio property

double? mainAxisMaxRatio
final

The main axis's max constraint ratio for the sheet, depending on side. Defaults to 9 / 16.

The main axis is the width if side is FLayout.ltr or FLayout.rtl, and the height if side is FLayout.ttb or FLayout.btt.

Consider setting this to null if this sheet has a scrollable child, i.e. ListView, along the main axis, to have the sheet be draggable.

Implementation

final double? mainAxisMaxRatio;