flutter-slang-l10n-interfaces
Installation
SKILL.md
Slang — L10n Formatting & Interfaces
L10n (Dates & Numbers)
Uses intl package. Specify type after colon:
{
"greet": "Hello {name: String}, you have {amount: currency}",
"today": "Today is {date: yMd}",
"time": "It is {t: jm}"
}
t.greet(name: 'Tom', amount: 1234.56); // "Hello Tom, you have $1,234.56"
t.today(date: DateTime(2023, 12, 31)); // "Today is 12/31/2023"