You can use the ICU Message syntax to include placeholders. That will allow you to handle almost anything, from a simple text input to formatting numbers, dates, times, plurals, and other data types.
Localization message in arb file:
Access the localization message in code:
Note: Explore ICU messages using the ICU Message Editor.