Skip to content

heightFraction

fun heightFraction(fraction: Float): FrakSharing.Builder

Share of the screen height the sheet occupies. Values outside 0.3..1.0, and non-finite ones, are clamped and logged rather than thrown: a layout number must not crash the merchant’s app, and iOS clamps the same input.