compact constant

VisualDensity const compact

The profile for a "compact" interpretation of VisualDensity.

Individual components will interpret the density value independently, making themselves more visually dense than standard and comfortable to different degrees based on the Material Design specification of the "comfortable" setting for their particular use case.

It corresponds to a density value of -2 in both axes.

Implementation

static const VisualDensity compact = VisualDensity(horizontal: -2.0, vertical: -2.0);