NiimbotLabelLayout constructor

const NiimbotLabelLayout({
  1. NiimbotLabelSize size = NiimbotLabelSize.mm50x30,
  2. NiimbotLabelOrientation orientation = NiimbotLabelOrientation.portrait,
  3. NiimbotLabelAlignment horizontalAlignment = NiimbotLabelAlignment.center,
  4. NiimbotLabelAlignment verticalAlignment = NiimbotLabelAlignment.center,
  5. double padding = 2,
})

Implementation

const NiimbotLabelLayout({
  this.size = NiimbotLabelSize.mm50x30,
  this.orientation = NiimbotLabelOrientation.portrait,
  this.horizontalAlignment = NiimbotLabelAlignment.center,
  this.verticalAlignment = NiimbotLabelAlignment.center,
  this.padding = 2,
}) : assert(padding >= 0);