Spacing constructor
const
Spacing({
- Key? key,
- required Widget child,
- 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);