I am developing a Quotes app as a beginner Practice project in flutter. I have multiple pages in my app. Right now I want to create an icon button which will perform as a bookmark (Mark as favourite) for the user. And in the app bar there will be a favourite option where the user can find those marked page number. And if they touch it, it will navigate to the preferred page. I am a self learner. So, kinda confused right now about which function should i use. Should I use shared preference? Or SQlite, so that I can create that function for my project? Can you please give some advice?
CodePudding user response:
i think using shared preference is not good idea for solving your problem so i recommend using sqflite for your purpose and create multiple table for fetching and saving your data.