Whenever I create a post within ride.dart I shows up when I'm currently on the screen however whenever I reload the app or even just switch screens and come back, the post dissappears. On top of that the posts within homepage.dart are hardcoded and not connected to ride.dart.
So, I'd recommend using cloud storage like firebase to keep track of all the posts or you any other ideas suggest them below!
However before you connect to firebase, make sure you implement checks so that users can't submit empty, partially filled, or incorrect formatting posts within the textFields.
Whenever I create a post within ride.dart I shows up when I'm currently on the screen however whenever I reload the app or even just switch screens and come back, the post dissappears. On top of that the posts within homepage.dart are hardcoded and not connected to ride.dart. So, I'd recommend using cloud storage like firebase to keep track of all the posts or you any other ideas suggest them below!
However before you connect to firebase, make sure you implement checks so that users can't submit empty, partially filled, or incorrect formatting posts within the textFields.