kMinInteractiveDimension top-level constant
double
const kMinInteractiveDimension
The minimum dimension of any interactive region according to Material guidelines.
This is used to avoid small regions that are hard for the user to interact with. It applies to both dimensions of a region, so a square of size kMinInteractiveDimension x kMinInteractiveDimension is the smallest acceptable region that should respond to gestures.
See also:
- kMinInteractiveDimensionCupertino
- The Material spec on touch targets at material.io/design/usability/accessibility.html#layout-typography.
Implementation
const double kMinInteractiveDimension = 48.0;