class ChangeLanguage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Change Language'),
),
body: Center(
child: RaisedButton(
child: Text('Change'),
onPressed: () {
navigator.pop(context);
},
),
),
);
}
- I want to refresh previous screen according to the new language after pressing on raised button and calling navigator pop(context).
- I am using easy_localization 1.3.1 and when i navigate back to the previous screen the layout doesn't reversed