How to solve performance and hot reload issues in flutter?

2.8k Views Asked by At

I have come to know that flutter is much faster..But when I run it on web , it takes almost 4 minutes to start..How to reduce its launch time? Again there is an awesome feature of flutter called hot reload. But when I try to perform hot reload(both from VSCode and window powershell) it says

  `Performing hot restart...`

and restart the whole application which takes too much time..How to solve?

1

There are 1 best solutions below

1
On

In Flutter Web "Hot Reload" is not available, that's why r and R will do the same thing and perform a "Hot Restart".

That being said, 4min is pretty much, does this only mean building time or your application to load? If it is the latter I would consider investing in some optimization work to speed up the loading time or check your systems specs.