Spacing constructor

Spacing({
  1. required double width,
  2. required Widget child,
  3. Key? key,
})

generates the responsiveData

Implementation

Spacing({
  required double width,
  required super.child,
  Key? key,
})  : responsiveData = ResponsiveData(width),
      gigaSpacing = ResponsiveSpacing.globalGigaSpacing.find(width),
      spacing = ResponsiveSpacing.globalSpacing.find(width),
      super(key: key);