horizontal property
final
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:
- ThemeData.visualDensity, where this property is used to specify the base horizontal density of Material components.
- Material design guidance on density.
Implementation
final double horizontal;