How can we save the widget that will be adding on run (on click of user) in Flutter?

92 views
Skip to first unread message

Sumangla Bafna

unread,
Jun 5, 2022, 12:58:14 PM6/5/22
to Flutter Development (flutter-dev)
  • We are creating a noticeboard app and we are pinning widgets on board(Staggered Grid View).

  • I tried initializing the list - pinnedWidgets in initState() of main.dart (Only thing I could think of) and that's not working.

  • We want the items added in the list to be saved, even when we close the app.

  • We have used Hive (local database) as database.

If you know, please answer.
Reply all
Reply to author
Forward
0 new messages