null safety
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user