NiimbotLabelLayout constructor
const
NiimbotLabelLayout({
- NiimbotLabelSize size = NiimbotLabelSize.mm50x30,
- NiimbotLabelOrientation orientation = NiimbotLabelOrientation.portrait,
- NiimbotLabelAlignment horizontalAlignment = NiimbotLabelAlignment.center,
- NiimbotLabelAlignment verticalAlignment = NiimbotLabelAlignment.center,
- 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);