VisualDensity constructor
A const constructor for VisualDensity.
The horizontal
and vertical
arguments must be in the interval between
minimumDensity and maximumDensity, inclusive.
Implementation
const VisualDensity({
this.horizontal = 0.0,
this.vertical = 0.0,
}) : assert(vertical <= maximumDensity),
assert(vertical >= minimumDensity),
assert(horizontal <= maximumDensity),
assert(horizontal >= minimumDensity);