TranslateDelegate constructor
TranslateDelegate({
- required Translator translator,
Creates an instance of TranslateDelegate
.
The translator
parameter is used to set the localization values.
Implementation
TranslateDelegate({required Translator translator}) {
Localize.localizeValue = translator.message();
}