sameTypography method

bool sameTypography(
  1. IrTextStyle o
)

Same font, size, weight, slant, line height and letter spacing.

Implementation

bool sameTypography(IrTextStyle o) =>
    fontFamily == o.fontFamily &&
    fontSize == o.fontSize &&
    fontWeight == o.fontWeight &&
    italic == o.italic &&
    lineHeight == o.lineHeight &&
    letterSpacing == o.letterSpacing;