Spacing constructor

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

Creates spacing with the specified width and height.

Implementation

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