Monday, November 7, 2022

Navigator operation requested with a context that does not include a Navigator.

 Before:

 

void main() {
runApp(AnaEkran(),

);
}

After:

void main() {
runApp(MaterialApp(
home: AnaEkran(),
),
);
}
 
https://stackoverflow.com/questions/44004451/navigator-operation-requested-with-a-context-that-does-not-include-a-navigator 

No comments:

Post a Comment

Ekran genişliğini ve yüksekliğini alma

  double screenWidth = MediaQuery.of(context).size.width; double screenHeight = MediaQuery.of(context).size.height; Container( height: sc...