我想将我的应用程序翻译成不同的语言.在文本微件上工作得很好,但当变量与文本微件一起使用时就不能工作
date == null
? Text(
'Expected_Date'.tr,
)
: Text(
'Expected_Date = $dueDate'.tr,
),