Right now my universal widget gets disposed when getting out of screen bounds. And when it is back in again and so it is being created again, it loses the state it was in before the dispose. I animate the opacity to 0.0 and move the widget out and in to the screen and it appears as opacity 1.0 which is the default. Is there a way to avoid certain universal widgets to be disposed?
Right now my universal widget gets disposed when getting out of screen bounds. And when it is back in again and so it is being created again, it loses the state it was in before the dispose. I animate the opacity to 0.0 and move the widget out and in to the screen and it appears as opacity 1.0 which is the default. Is there a way to avoid certain universal widgets to be disposed?