Height constructor

Height(
  1. double value, [
  2. Unit unit = Unit.px
])

Implementation

Height(super.value, [super.unit = Unit.px])
    : assert(value >= 0, 'Height value must be non-negative');