In the create post page you’ll need to pass an empty list of likes. As when a post is created there are no likes to it. Go to post_repo and create a toggleLikePosts method that takes post id and user ...
Go to the home page. Move the method that redirects to the create post page to a floating action button. On a Desktop screen, ...
In the lib/features/post/data/ create a new file imagekit_post_repo.dart It would be almost the same as the image kit repo of the profile feature. In the lib/features/post/presentation/cubits create a ...
Now, if there is a profile image and it got loaded correctly then, I want to show it as a cached image. Just to test it out. Go to imagekit’s user_profiles folder that you created earlier. Upload a ...
Profile pictures are one of the most personal parts of any app—but handling uploads, updates, and deletions efficiently? That’s a whole different story. Today, we’re integrating ImageKit.io to make ...
Flutter BLoC Example for Beginners Welcome back to python-hub.com. Where we are building 🔥Connect: A Photo Sharing App - 5 Steps at a Time 🔥 Today’s goal? Fetching & updating… ...