📜  应用程序在文本字段单击时自行重建 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:29.802000             🧑  作者: Mango

代码示例1
if your screen depends on MediaQuery or at least having one widget depenig on MediaQuery, the keyboard popup changes the size of your screen, which triggers mediaQuery and causing rebuilds...in this case avoid using mediaQuery, Instead get your dimensions using (sizer package) https://pub.dev/packages/sizer