VisualDensity constructor Null safety

const VisualDensity(
  1. {@Default(0.0) double horizontal,
  2. @Default(0.0) double vertical}
)

Implementation

const factory VisualDensity({
  @Default(0.0) double horizontal,
  @Default(0.0) double vertical,
}) = _VisualDensity;