I know copying and pasting the code is commonly used, but sometimes writing from scratch offers more granular control over the program you’re trying to develop.
The problem is when writing a built-in widget that has properties (e.g., Column's mainAxisSize: MainAxisSize.min
) to apply layout setup to a specific widget.
It usually takes around 5-10 seconds (or, if I remember clearly, it takes longer sometimes) to show code suggestions on a random sequence of events (i.e., the first time or after a long period when I decided to continue the program).
It stuck here:
The worst scenario is, sometimes, aside from the Column's mainAxisSize: MainAxisSize.min
widget properties. I was also using another complex widget that introduced that same behavior, and it prevents applying code changes (i.e., hot reload) to the currently running app, even if the code changes were made correctly.
Can someone explain what is going on here? Does anybody encounter the same behavior of Visual Studio Code while developing a Flutter project?