SpaceNode constructor
SpaceNode({
- required Measurement height,
- required Measurement width,
- Measurement shift = Measurement.zero,
- Measurement depth = Measurement.zero,
- int? breakPenalty,
- bool fill = false,
- required Mode mode,
- bool alignerOrSpacer = false,
Implementation
SpaceNode({
required this.height,
required this.width,
this.shift = Measurement.zero,
this.depth = Measurement.zero,
this.breakPenalty,
this.fill = false,
// this.background,
required this.mode,
this.alignerOrSpacer = false,
});