maxHitTestSize static method

double maxHitTestSize(
  1. double tolerance
)

Returns the maximum hit test box dimension for a given tolerance.

This is a convenience method that applies hitTestSizeMultiplier to the tolerance value.

Implementation

static double maxHitTestSize(double tolerance) =>
    tolerance * hitTestSizeMultiplier;