(The build version that identifies an iteration of the bundle)
This key is a machine-readable string composed of one to three period-separated integers, such as 10.14.1. The string can only contain numeric characters (0–9) and periods.
Each integer provides information about the build version in the format [Major].[Minor].[Patch]:
“?”: This can be used to tell compiler that this variable can be null. (Nullable)
String? name ;
If (?) is removed there would be a compiler error. as this variable could be null.
“!” : is an operator for conversion from a nullable to a non-nullable type.
Firstly, you need to add flutter_localizations in your pubspec.yaml.
Secondly, create a directory in your flutter project contains json files for your languages like this
Inside every Json file, you need to have a key and value for every string that you will use in your project
For example, in…