hwCodePointLiteral function

String hwCodePointLiteral(
  1. int codePoint
)

codePoint as the hexadecimal literal a glyph is usually written as, which both platforms read the same way.

Implementation

String hwCodePointLiteral(int codePoint) =>
    '0x${codePoint.toRadixString(16).toUpperCase()}';