Flutter – Rebuilding issue when I declare MediaQuery within the build function
import 'package:bug_fix/home_screen.dart'; import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); @OverRide Widget build(BuildContext context) { return const MaterialApp( home: HomeScreen(), ); } } import 'dart:developer'; import 'package:flutter/material.dart'; class HomeScreen extends StatelessWidget { const…