Fuzziness.all constructor

const Fuzziness.all(
  1. double fuzziness
)

Fuzziness extends the boundaries for touch detection.

For example: If Fuzziness.all(10) is applied, the area for touch detection will be increased by 10 in all directions.

Implementation

const Fuzziness.all(double fuzziness)
    : top = fuzziness,
      bottom = fuzziness,
      left = fuzziness,
      right = fuzziness;