pressGrowthLength property

double pressGrowthLength
final

When positive, replaces pressGrowthArea: a pressed shape's long side grows by pressGrowthLength / sqrt(short side) points (uniform scale 1 + pressGrowthLength / (long ยท sqrt(short))), capped at pressScaleMax. Fits SwiftUI's capsules better than a fixed area.

Implementation

final double pressGrowthLength;