Changes On iOS

merge-requests/188/head
Aamir Muhammad 2 years ago
parent 02870af3d2
commit 68f4d21a4a

@ -88,22 +88,9 @@ Future<void> main() async {
// flutter pub run easy_localization:generate --source-dir ./assets/langs -f keys -o locale_keys.g.dart
// command to generate languages data from json
class MyApp extends StatefulWidget {
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> with WidgetsBindingObserver {
@override
void initState() {
WidgetsBinding.instance.addObserver(this);
super.initState();
}
@override
Widget build(BuildContext context) {
return Sizer(

Loading…
Cancel
Save