horizontal property

double horizontal

The horizontal visual density of UI components.

This property affects only the horizontal spacing between and within components, to allow for different UI visual densities. It does not affect text sizes, icon sizes, or padding values. The default value is 0.0, corresponding to the metrics specified in the Material Design specification. The value can range from minimumDensity to maximumDensity, inclusive.

See also:


final double horizontal;