Sep 3, 2024
Don't use MediaQuery.of(context).size!
Use MediaQuery.sizeOf(context)
Get Randal L. Schwartz’s stories in your inbox
Join Medium for free to get updates from this writer.
Much more efficient. Doesn't trigger on unrelated updates.
Don't use MediaQuery.of(context).size!
Use MediaQuery.sizeOf(context)
Join Medium for free to get updates from this writer.
Much more efficient. Doesn't trigger on unrelated updates.
ThankU for the feedback. I acthually didn't mentioned about it at all. I will make changes to blog accordingly.
ThankU again.
--