Spacing.vertical constructor

const Spacing.vertical(
  1. double height, {
  2. Key? key,
})

Creates vertical spacing with the specified height.

The height parameter defines the amount of vertical space in logical pixels.

Implementation

const Spacing.vertical(double height, {super.key})
    : _height = height,
      _width = null;