Preserve Page State with AutomaticKeepAliveClientMixin Flutter
Пікірлер: 16
@miguelnuno9283 жыл бұрын
Thank you. i was searching for a solution and your videos explains very well how to deal it.
@jeremiaholuwaseun73274 жыл бұрын
Can it still be preserved after rebuilding the page?
@doulainc.4982 жыл бұрын
does this work when I toggle between pages. it doesn't seem to work
@harshsason3725 Жыл бұрын
Bruh thanks for the solution i was looking for it all day long
@melvinsinatra7794 Жыл бұрын
Very nice explanation. Thank you
@mashiro36962 жыл бұрын
hey, may I know the name of your editor's font family?
@someguy0073 жыл бұрын
Great tutorial, thanks man. Quick Q: I have a BottomNavBar[4] and keepAlive on all [4]States but one of the States keeps building over n over(I know coz I have print("State (1/2/3/4)") on all the builds. Could this be coz of keep alive? Iv tried to get rid of it and see but still have the same problem. Do u know wat could be the reason? Thanks.
@albertojoserizogradiz21212 жыл бұрын
You need to wrap the body of the scaffold with a PageView because the BottomNavBar always rebuild even using AutomaticallyKeepAliveClientMixin.
@BenSmith-et9fv3 жыл бұрын
Nice Work!
@umaralfaruq13043 жыл бұрын
I have already subscribed bro. can you create how to show hide AppBar contain TabBar and preserve scroll position of listview for each tab
@krishnakumarramachandran58884 жыл бұрын
Super Explanation Bro. Subscribed your Channel Bro.