widthDots property

int get widthDots

Implementation

int get widthDots => switch (orientation) {
  LabelOrientation.normal => (size.widthMm * dotsPerMillimeter).round(),
  LabelOrientation.rotated90 => (size.heightMm * dotsPerMillimeter).round(),
};