LocalizedText constructor
const
LocalizedText(})
The string for key_ in the nearest LocalizationScope's current
locale, with args filled in and the lookup kept to ns when given.
Shows nothing without a scope. The rest are Text's own parameters.
Implementation
const LocalizedText(
this.key_, {
super.key,
this.args = const {},
this.ns,
this.style,
this.textAlign,
this.maxLines,
this.overflow,
this.softWrap = true,
});