When I am using AppLocalizations.of(context)!.value in ternary operation in flutter , then it show error "Null check operator used on a null value".
Here is an example of usage that makes error:
isLoading ? AppLocalizations.of(context)!.loading : AppLocalizations.of(context)!.value
In this code show error Null check operator used on a null value
isLoading ? Text(AppLocalizations.of(context)!.orderIsBeingSending) : Text("${AppLocalizations.of(context)!.orderId} : ${orderSummary.orderResponse?.no.toString()}");
Debug output: