PageLayout constructor

const PageLayout({
  1. double width = 800.0,
  2. double height = 1100.0,
  3. double marginTop = 80.0,
  4. double marginBottom = 80.0,
  5. double marginLeft = 80.0,
  6. double marginRight = 80.0,
  7. double staffGroupSpacing = 12.0,
  8. double staffSpacing = 8.0,
  9. double systemSpacing = 16.0,
})

Implementation

const PageLayout({
  this.width = 800.0,
  this.height = 1100.0, // A4 proportions
  this.marginTop = 80.0,
  this.marginBottom = 80.0,
  this.marginLeft = 80.0,
  this.marginRight = 80.0,
  this.staffGroupSpacing = 12.0, // Space between groups
  this.staffSpacing = 8.0, // Space between staves in a group
  this.systemSpacing = 16.0, // Space between systems
});