972a0f5993
Signed-off-by: xsahil03x <xdsahil@gmail.com>
Stream Chat Persistence Example
Please see lib/ for example code.
Setting a language
The application language can be changed through system preferences or programmatically.
System Preferences
The application locale can be changed by changing the language for your device or emulator within the device's system preferences.
Note that the language needs to be supported in your application to work.
Programmatically
You can also set the locale programmatically in your Flutter application without changing the device's language.
return MaterialApp(
...
locale: const Locale('fr'),
...
);
There are many ways that this can be set for additional control. For information and examples, see this Stack Overflow post.