textStyleHTML property

String get textStyleHTML

Tag p for normal text, b for bold text and span for left right text This getter to get tag of text used

Implementation

String get textStyleHTML {
  if (useSpan) {
    return type == ReceiptTextStyleType.normal ? 'span' : 'b';
  }
  return type == ReceiptTextStyleType.normal ? 'p' : 'b';
}