changeLocale method
Implementation
@override
Future<void> changeLocale(BuildContext context, Locale locale) async {
setState(() {
sharedModel.locale = locale;
});
}
@override
Future<void> changeLocale(BuildContext context, Locale locale) async {
setState(() {
sharedModel.locale = locale;
});
}