How to add save the json data to sqflite in flutter

1,167 views
Skip to first unread message

mahantappa b k

unread,
Jun 3, 2020, 11:51:54 AM6/3/20
to Flutter Development (flutter-dev)
I am having project where I am fetching the data and showing the data by processing but I want to save the data to sqflite and then retrieve the data

Below is the link for my repo
https://github.com/Mahantbk/Holiday_calendar

Suzuki Tomohiro

unread,
Jun 3, 2020, 12:21:11 PM6/3/20
to mahantappa b k, Flutter Development (flutter-dev)
(I didn’t read code repository)
Do you want to share example JSON data and SQLite database schema?

Do you know how to do below?
- Read something from SQLite using Sqflite
- Save something to SQLite using Sqflite
- Read some JSON data in Flutter


--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/391cb33a-f31d-43ec-b7b2-c2759140fc17%40googlegroups.com.

Suzuki Tomohiro

unread,
Jun 3, 2020, 12:35:35 PM6/3/20
to Flutter Development (flutter-dev)
So I assume you know how to read JSON and how to save data to sqflite.

What do you think is special about this project from your previous experience?


On Wed, Jun 3, 2020 at 12:24 Mahantappa B K <mbkum...@gmail.com> wrote:
I know only simple db examples. But I want to do in this project.

On Wed, 3 Jun, 2020, 9:52 pm Mahantappa B K, <mbkum...@gmail.com> wrote:
Yes, but I want to do it in this repository, Which seems very confusing to me. Please can you help me with this?

Suzuki Tomohiro

unread,
Jun 3, 2020, 12:41:07 PM6/3/20
to Flutter Development (flutter-dev)
Good answer. I don’t use bloc.

You may want to clarify below:
Do you want to learn bloc?
or
Are you looking for somebody to finish the job on behalf of you?


Either case, I cannot help on this project.

On Wed, Jun 3, 2020 at 12:37 Mahantappa B K <mbkum...@gmail.com> wrote:
This project is written with bloc and I never worked with bloc, do I want to work with this project.
Reply all
Reply to author
Forward
0 new messages