null safety

This commit is contained in:
phyothandar
2021-09-10 14:25:37 +06:30
parent 5a313d641e
commit 079c9a135d
31 changed files with 230 additions and 227 deletions

View File

@@ -62,7 +62,7 @@ class DisplayText extends StatelessWidget {
labelTextKey == null
? Container()
: Text(
AppTranslations.of(context).text(labelTextKey!),
AppTranslations.of(context)!.text(labelTextKey!),
style: labelStyle,
),
text == null