I'm trying to convert some strings that are in Czech, Spanish, French etc. I'd like to take out the accent marks in the letters while keeping the letter. (E.g. convert é to e, č to c, Ž to Z, ñ to n)
What is the best way to achieve this?
Btw, there is a good similar question/answer for JavaScript
Not throughougly tested but seems to work
Try it at DartPad
See also https://pub.dartlang.org/packages/diacritic