textSizeHtml property

String textSizeHtml

This getter to get style of alignment text

Implementation

String get textSizeHtml {
  switch (size) {
    case ReceiptTextSizeType.small:
      return 'text-small';
    case ReceiptTextSizeType.medium:
      return 'text-medium';
    case ReceiptTextSizeType.large:
      return 'text-large';
    case ReceiptTextSizeType.extraLarge:
      return 'text-extra-large';
    default:
      return 'text-medium';
  }
}