Spacing constructor

const Spacing({
  1. Key? key,
  2. required Widget child,
  3. required DataBuilder<SpacingData> dataBuilder,
})

Applies the spacing resulting from the given dataBuilder to child.

The dataBuilder and child arguments must not be null.

Implementation

const Spacing({
  Key? key,
  required this.child,
  required this.dataBuilder,
}) : super(key: key);