SpaceNode constructor

SpaceNode({
  1. required Measurement height,
  2. required Measurement width,
  3. Measurement shift = Measurement.zero,
  4. Measurement depth = Measurement.zero,
  5. int? breakPenalty,
  6. bool fill = false,
  7. required Mode mode,
  8. 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,
});