kMinInteractiveDimension top-level constant

const kMinInteractiveDimension = 48.0

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:

Implementation

const double kMinInteractiveDimension = 48.0