My pages in flutter, for example HomePage, it seems there are more than one instance of it. I wonder if it is right to have only one instance? How to enforce that?
Also, for some reason, when one widget of a page get focus, all pages are rebuild. For example, go to Homepage and go to PurchasePage and Homepage then OrderPage, when a TextField in the OrderPage get focus, all HomePage(Two of it), PurchasePage and OrderPage are rebuild. I wonder what could cause that?