aloisdeniel / aloisdeniel/flutter_sheet_localization
prefix and suffix for labels
- Lenguaje dominante
- Dart
- Estrellas
- 286
- Forks
- 87
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
I would love to see the possibility to simply add a prefix or suffix to my translations. So instead of
```
final labels = AppLocalizations.of(context);
print(labels.dates.month.february+": ");
print(" " + labels.templated.contact(Gender.male, lastName: "John"));
```
I would love to write something like
```
final labels = AppLocalizations.of(context);
print(labels.dates.month.february..suffix(": "));
print(labels.templated.contact(Gender.male, lastName: "John")..prefix(" "));
```
And maybe the possibility to define own common used suffix and prefix like `": "` or `" "` and then easy access them like
`print(labels.dates.month.february..suffix.colon);` or `print(labels.dates.month.february..withColon());`
Best regards and thank you for the amazing package!
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.