What? You wanna save variable? Or contents of those Lists ? if so just use sharePreference i guess or save them locally in app data with path provider package
I need to save their content, shared preference does not allow to save list <card> I will check about path_providor Thanks
you can convert to String and then save it in sharedPrefs then convert again in list when u load
How can I convert a card to a string? And which is better path provider or shared pref?
card has string data ? then save that and load that when u retrieve create like List.generate and add card as children + your data
i think sharedPrefs
He is talking about the content of the card not the card itself
ok and I need to save FlutterLocalNotificationsPlugin for notifications or is it saved automatically?
why u want save that
Override tostring method
how can I convert from tostring to card? After loading the data
The trick is through json
Обсуждают сегодня