getTranslated function

String? getTranslated(
  1. BuildContext context,
  2. String key
)

Implementation

String? getTranslated(BuildContext context, String key) {
  return ActiveLocalization.of(context)!.getTranslateValue(key);
}