'how can you add ñ and tildes in flutter?

It turns out that I want to put ñ and accents, but flutter recognizes them with symbols of "?" in a rhombus, I tried several methods but I couldn't get it.

Flutter character



Solution 1:[1]

the solution I found was to use the unicode, the "ñ" comes out as the following U+00F1, but in flutter it is placed like this \u{00F1}, leaving for example "Ingrese contrase\u{00F1}a".

the other unicodes for accents or tildes are:
á: \u{00E1}
é: \u{00E9}
í: \u{00ED}
ó: \u{00F3}
ú: \u{00FA}

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 RiseHit