Reputation: 1511
I need to parse some numbers in such a way:
1 -> "One", 2 -> "Two", etc.
I need those strings localized for different languages. Is there any tool that makes such a parsing?
Upvotes: 0
Views: 1209
Reputation: 7100
Try to use intl
package https://pub.dev/packages/intl. There is a function Intl.select
. I think it can helps.
Upvotes: 1