Flutter Tutorial - SQL Database Storage Using Sqlite & Sqflite CRUD | Android & iOS

Поделиться
HTML-код
  • Опубликовано: 5 июн 2024
  • Persist data with Flutter's Sqflite & Flutter's Sqlite Database locally on your Android or iOS device by using Raw SQL statements and perform Sqflite CRUD Operations Create, Read, Update and Delete.
    Click here to Subscribe to Johannes Milke: ruclips.net/user/JohannesMilke...
    👉 12 Week Flutter Training | heyflutter.com
    👉 Flutter Masterclass Courses | heyflutter.com/masterclass
    Source Code | github.com/JohannesMilke/sqfl...
    My Courses | heyflutter.com
    Follow Newsletter | johannesmilke.com/newsletter
    SUBSCRIBE HERE
    bit.ly/JohannesMilke
    SUPPORT & SPONSOR ME
    github.com/sponsors/JohannesM...
    RESOURCES
    Shared Preferences Load & Store Data Tutorial: • Flutter Tutorial - Sha...
    Shared Preferences II Persist JSON Data Tutorial: • Flutter Tutorial - Log...
    Todo App From Scratch Tutorial: • Flutter Tutorial - 1/2...
    Firebase CRUD Tutorial: • Flutter Tutorial - Tod...
    Secure Storage Tutorial: • Flutter Tutorial - Sec...
    Search App Bar & Search Delegate Tutorial: • Flutter Tutorial - Sea...
    Crop & Save Images Tutorial: • Flutter Tutorial - Ima...
    Store Image Tutorial: • Flutter Tutorial - Flu...
    Selectable DataTable Tutorial: • Flutter Tutorial - Sel...
    Deploy Flutter Web App Tutorial: • Flutter Tutorial - Fir...
    Create Invoice PDF Document Tutorial: • Flutter Tutorial - Cre...
    Google SignIn Tutorial: • Flutter Tutorial - Goo...
    Email Sign In Tutorial: • Flutter Tutorial - Ema...
    App Internationalization Tutorial: • Flutter Tutorial - Loc...
    Migrate App To Null Safety Tutorial: • Flutter Tutorial - Mig...
    Null Safety In 5 Minutes Tutorial: • Flutter Tutorial - Nul...
    Autofill Services Tutorial: • Flutter Tutorial - Aut...
    TIMELINE
    0:00 Introduction Database Storage Sqlite & Sqflite
    0:39 When To Use Database?
    1:04 Which To Use Database? SQL VS NoSQL
    1:24 Sqflite CRUD Operations
    1:56 Setup Sqflite
    2:10 Open Sqflite Database & Initialize Database
    4:34 Create Database Table
    8:22 Add Sqflite Multiple Tables
    8:34 Insert SQL Statement / Sqflite Create Operation
    13:21 Query SQL Statement / Sqflite Read Operation
    18:39 Query All SQL Statement / Sqflite Read All Operation
    20:11 Update SQL Statement / Sqflite Update Operation
    21:26 Delete SQL Statement / Sqflite Delete Operation
    21:54 Create Notes App UI With Sqflite CRUD
    SHARE | SUBSCRIBE | LIKE FOR MORE VIDEOS LIKE THIS
    *********
    SOCIAL MEDIA: Follow Us :-)
    Twitter | / heyflutter_
    Linkedin | / heyflutter
    LEARN MORE
    SOURCE CODE | github.com/JohannesMilke
    ARTICLES | / johannesmilke
    PLAYLISTS
    All Flutter Videos | • Flutter Tutorial - Flu...
    Widgets - Flutter | • Flutter Tutorial - Flu...
    Plugins - Flutter | • Flutter Tutorial - Flu...
    Animations - Flutter | • Flutter Tutorial - Tra...
    Designs - Flutter | • Flutter Tutorial - Flu...
    Firebase - Flutter | • Flutter Tutorial - Pag...
    State Management - Flutter | • Flutter Tutorial - Riv...
    CREDITS
    Copyright song "Corporate Technology" by scottholmesmusic.com
    #Flutter #Tutorial #JohannesMilke
    LIKE & SHARE & ACTIVATE THE BELL
    Thanks For Watching :-)
    bit.ly/JohannesMilke
  • НаукаНаука

Комментарии • 335

  • @HeyFlutter
    @HeyFlutter  Год назад +1

    👉Join 12 Week Flutter Training: heyflutter.com
    👉Join the WhatsApp Channel to get the latest news about Flutter & HeyFlutter: whatsapp.com/channel/0029VaDNCZtC1Fu8nL2vmw3f
    Source Code: github.com/JohannesMilke/sqflite_database_example
    Shared Preferences Load & Store Data Tutorial: ruclips.net/video/szOllHT1S7Y/видео.html
    Shared Preferences II Persist JSON Data Tutorial: ruclips.net/video/-32HIsRf26o/видео.html
    Todo App From Scratch Tutorial: ruclips.net/video/kN9Yfd4fu04/видео.html
    Firebase CRUD Tutorial: ruclips.net/video/EV2DyrKOqrY/видео.html
    Secure Storage Tutorial: ruclips.net/video/Oqhrxk_f1RE/видео.html
    Search App Bar & Search Delegate Tutorial: ruclips.net/video/RaACAwvZ61E/видео.html
    Crop & Save Images Tutorial: ruclips.net/video/pXbBTJt7frM/видео.html
    Store Image Tutorial: ruclips.net/video/JDDoN2THwug/видео.html
    Selectable DataTable Tutorial: ruclips.net/video/HZD-0zgpuak/видео.html
    Deploy Flutter Web App Tutorial: ruclips.net/video/xJo7Mqse960/видео.html
    Create Invoice PDF Document Tutorial: ruclips.net/video/z_5xkhEkc5Y/видео.html
    Google SignIn Tutorial: ruclips.net/video/ogW83xGQGTg/видео.html
    Email Sign In Tutorial: ruclips.net/video/rnHAInnjCmM/видео.html
    App Internationalization Tutorial: ruclips.net/video/Zw4KoorVxgg/видео.html
    Migrate App To Null Safety Tutorial: ruclips.net/video/GLnQphHi1BY/видео.html
    Null Safety In 5 Minutes Tutorial: ruclips.net/video/Q_WloMNKOkU/видео.html
    Autofill Services Tutorial: ruclips.net/video/v8T4fnrQCf0/видео.html

  • @network911timba
    @network911timba 2 года назад +19

    So glad I came across your content, well delivered and well executed delivery. Best intro to sqlfite I have found. Please know that your efforts are appreciated!

    • @dhillonj75
      @dhillonj75 2 года назад

      @@HeyFlutter can you pleasemake a video on how to add and use excel in flutter .
      For Eg a Drop down where we select first name of user and Last name is retreived from data in excel

  • @shivlochawala2562
    @shivlochawala2562 3 года назад +6

    Clear voice with slow and perfect explanation. Keep it up. Thank you for such a nice and awesome video.

  • @snaxman
    @snaxman 2 года назад +4

    Thank you SO MUCH for this tutorial!!! It is extremely helpful, with clear and easy steps to follow. Please continue posting such tutorials!! :)

  • @drooner
    @drooner 3 года назад +3

    It all looks so easy when you do it :-D Thanks for another great video.

  • @pranthonyaquino
    @pranthonyaquino 3 года назад +1

    Great video, complete explanation of using sqlite and Flutter. Thanks! I'm subscribed now!

  • @TechyChung
    @TechyChung 3 года назад +5

    Thank you so much! You explained so perfectly! Can't find this perfect content explanation with slides anywhere!!
    Hat's off to you for your efforts!

    • @TechyChung
      @TechyChung 3 года назад

      @@HeyFlutter always here for your support!

    • @suniltimilsina7425
      @suniltimilsina7425 2 года назад

      Can you please me explain why there is exclamation mark in the end of the database name in: if(_database != null) return _database!; 03:52

    • @TechyChung
      @TechyChung 2 года назад

      @@suniltimilsina7425 if you want detail explanation i explain you on chat, LOL I DON'T WANT TO SPAM COMMENT SECTION
      Maybe text me on ig: @hanishajainn

    • @suniltimilsina7425
      @suniltimilsina7425 2 года назад

      @@TechyChung I can't find you on Instagram... is that your account which have only 17 following and about 11 followers?

  • @satishraizada2850
    @satishraizada2850 3 года назад +14

    Wonderful tutorial and covered everything in so details i managed to implement same into my project in no time, kudo to you :)

  • @nimacode
    @nimacode 2 года назад

    Just got Started with flutter and these are good quality content keep up the good work!!

  • @heroliper6493
    @heroliper6493 2 года назад

    Thank you so much! :)
    This tutorial was reaally helpful and easy to follow,
    have a great day!

  • @md.ruhulamin7963
    @md.ruhulamin7963 2 года назад

    What a clear explanation sir!! Thank you so much.

  • @pierremarais7669
    @pierremarais7669 3 года назад

    Johannes again what a NICE video this, just love it, thanks

  • @turtleyoda7703
    @turtleyoda7703 3 года назад +1

    Your channel is amazing. Keep up

  • @TechyChung
    @TechyChung 3 года назад

    You are amazing! best video and explained in the best way ever possible!

  • @Bootngoals
    @Bootngoals 3 года назад

    Another great Tutorial. Nice job Man.

  • @achinhchin
    @achinhchin 2 года назад

    Thank you very much, everything you teach is very helpful to me.

  • @terenceflowers9159
    @terenceflowers9159 2 года назад

    Extremely helpful! Thank you!

  • @danishshaikh1790
    @danishshaikh1790 2 года назад

    It's a really helpful video and literally, I support you in my country with my friends and colleagues you taught with clear and easy steps.
    Love From PAKISTAN

  • @Dichill
    @Dichill 2 года назад

    Thank you for the great content as always! Managed to make an app with sqflite.

  • @anantsinghal2586
    @anantsinghal2586 2 года назад

    Just subscribed your channel ! Loved this video ❤

  • @feutioclide7345
    @feutioclide7345 2 года назад

    you deserve a reward. Thanks

  • @somethingwithit9768
    @somethingwithit9768 2 года назад

    Really helpful explanation. Thank you very much !!

  • @maxr1112
    @maxr1112 Год назад +3

    6:13 A very elegant way of parametrizing your SQL typing and variables. Never seen that before but really enjoying it!

    • @HeyFlutter
      @HeyFlutter  Год назад +1

      Thanks, Max R! 🙂

    • @maxr1112
      @maxr1112 Год назад

      @@HeyFlutter You got yourself a new subscriber!

  • @coolnanel
    @coolnanel 2 года назад

    Amazing!! Thanks Johannes

  • @rameshkrishnan6754
    @rameshkrishnan6754 3 года назад

    Best video on sqflite!🔥

  • @omarattiaelserafy2090
    @omarattiaelserafy2090 Год назад

    I really like your channel, it's the best I've ever seen so far

    • @HeyFlutter
      @HeyFlutter  Год назад

      Glad to hear that, Thank you omar attia! 😊

  • @priyadarshinichettiar6750
    @priyadarshinichettiar6750 3 года назад

    You are best ! Thanks a lot for the awesome tutorial!

  • @edwardjo9064
    @edwardjo9064 2 года назад

    Thank you, Johannes! 👍

  • @ekoprasetyo3999
    @ekoprasetyo3999 2 года назад

    Your videos are awesome

  • @SunGkd123
    @SunGkd123 3 года назад

    Another great video 👍thank you so much

  • @mugume
    @mugume Год назад

    A very beautiful and excellent tutorial. Thank you @Johannes

    • @HeyFlutter
      @HeyFlutter  Год назад

      You’re most welcome, Arthur D. Mugume! 🙂

  • @erenkaraboga8570
    @erenkaraboga8570 2 года назад

    Best flutter tutorial channel in English

  • @SoulssWeaver
    @SoulssWeaver Год назад

    Best flutter tutorial! This is the basis of all apps

  • @uditmishra5583
    @uditmishra5583 2 года назад

    outstanding explanation man,thanks

  • @nhannguyenvanthanh8604
    @nhannguyenvanthanh8604 2 года назад

    thank you very much, very easy to understand, hope you will make more videos

  • @chyo003
    @chyo003 Год назад

    thank you so much !
    I learned how to build my app with sqflite from this tutorial

    • @HeyFlutter
      @HeyFlutter  Год назад +1

      Glad it was helpful, @codinglife-ii1vr 😀

  • @d-apps2699
    @d-apps2699 2 года назад +8

    Just a tip, inside the _initDB method you can just use:
    Insted of:
    final dbPath = await getDatabasesPath();
    final path = join(dbPath, filePath);
    You can put:
    Future _initDB(String filePath) async {
    return await openDatabase(filePath, version: 1);
    }
    because openDatabase first parameter now gets the defaul database path automatically, just pass the database name "notes.db"

    • @d-apps2699
      @d-apps2699 2 года назад +1

      @@HeyFlutter You are welcome, sexy voice.

    • @anupamshukla8799
      @anupamshukla8799 Год назад

      how we find the our db path where is this located

  • @raffazain
    @raffazain 2 года назад

    Great tutorial, thank you

  • @nikhilkukreja8498
    @nikhilkukreja8498 3 года назад

    Thank you Johannes :)

  • @pipepi4888
    @pipepi4888 2 года назад

    Thank you so much. So beautiful

  • @Hello-eq5rm
    @Hello-eq5rm 2 года назад

    Such a nice content !!!

  • @dinhtrongle1532
    @dinhtrongle1532 2 года назад

    thanks for the great video!!

  • @maqquse5967
    @maqquse5967 Год назад

    Thank you so much for the effort. This really helped me in my project.

    • @HeyFlutter
      @HeyFlutter  Год назад +1

      Glad I could be of help, You are welcome Maqquse! 😊

  • @MATTIHNA
    @MATTIHNA 2 года назад

    nice work thank you 👏

  • @pcoderajap2913
    @pcoderajap2913 2 года назад

    hie am total new to flutter ..ur tutorial is he best i found out there...

  • @aniguru1059
    @aniguru1059 2 года назад

    Thank you so much

  • @AbdullahAbdullah-vz4nk
    @AbdullahAbdullah-vz4nk 2 года назад

    very helpful tnx.

  • @muniralmeslaty9602
    @muniralmeslaty9602 2 года назад

    Thank you very Much

  • @batuhankrbb
    @batuhankrbb 2 года назад

    It's a pretty simple and straightforward tutorial. Thanks!

  • @vicenterusso
    @vicenterusso 2 года назад

    Great video! I'm curious, whats your recording process? how can you paste multiple contents with apparently no video editing? Also, have you tried floor? Any pros vs cons?

  • @codeGenius157
    @codeGenius157 Месяц назад

    Thank you bro. It really help alot

    • @HeyFlutter
      @HeyFlutter  Месяц назад

      You’re most welcome, @codeGenius157! 🙂

  • @amgedgamer1827
    @amgedgamer1827 3 года назад +1

    thanks @Johannes for your efforts
    Please give us tutorial sqflit with multiple tables with foreign key

    • @amgedgamer1827
      @amgedgamer1827 3 года назад

      @@HeyFlutter
      Good,I am waiting make it soon please

  • @srunrathaes128
    @srunrathaes128 10 месяцев назад

    Thanks for sharing.

    • @HeyFlutter
      @HeyFlutter  10 месяцев назад

      You are welcome, @srunrathaes128!

  • @Mustafamustafa-mi6ux
    @Mustafamustafa-mi6ux 2 года назад

    great job

  • @yvanarmelsopgwikamga3761
    @yvanarmelsopgwikamga3761 2 года назад

    hey vry nice
    tnk for the video

  • @clefeducationforum7726
    @clefeducationforum7726 Год назад

    Great Tutorial excellent.

    • @HeyFlutter
      @HeyFlutter  Год назад

      Thanks, @clefeducationforum7726! 🙂

  • @namnguyenanh5170
    @namnguyenanh5170 Год назад

    Thank you very much!

    • @HeyFlutter
      @HeyFlutter  Год назад

      Glad you liked it, @namnguyenanh5170 😀

  • @snowball5407
    @snowball5407 2 года назад

    Your sound is very easy to understand

  • @moazelsawaf2000
    @moazelsawaf2000 2 года назад

    Thanks ❤

  • @001Debjeet
    @001Debjeet 2 года назад

    this is gold

  • @gaien5771
    @gaien5771 2 года назад

    thank you

  • @richequan5115
    @richequan5115 Год назад

    very helpful content

  • @canh4869
    @canh4869 2 года назад

    thank bro

  • @tharukerajapaksha3652
    @tharukerajapaksha3652 2 года назад

    My flutter teacher is you sir

  • @Glasya
    @Glasya 3 года назад

    I followed your instructions for my own use case, but was wondering how you would go about with multiple tables, i assume you would create a separate db.dart in which you initialise the connection, and create the tables from, but i can't figure out how to make that work.

  • @niamatnaz
    @niamatnaz 2 года назад

    Thank you so much Mr. J. Milke for uploading such a wonderful video in a fabulous manner. i found it very helpful.
    Could u please share the code in pdf or word.

  • @AlfaSanga
    @AlfaSanga 3 года назад

    Thanks.

  • @d-apps2699
    @d-apps2699 2 года назад

    Johannes one thing that I'd like to know is how do you organize your code when you will have lots of different tables with different coluns and data, like storing lots of different models, using one db for it, I think we would need a helper to class that could do a CRUD in multiple tables/colums, maybe different db's too.

  • @tyleraung538
    @tyleraung538 2 года назад +2

    Hi, thanks for the code and the very clear walkthrough. Very well created. However I have a question for the insert statement. from 11:20 to 12:20. I understand that id is not generated from dart, so the id is auto-generated from db side. But why do we have to collect id after inserting to db?

    • @morrigan_ghost
      @morrigan_ghost Год назад

      We need to read, delete, edit, etc. items. How you will identificate single item to operate with it? We have probability to have items with same title.
      Future delete(int id) async {
      final db = await instance.database;
      return db.delete(
      _tableName,
      where: '${TaskFields.id} = ?',
      whereArgs: [id],
      );
      }

  • @AbdullahHattab
    @AbdullahHattab 2 года назад

    Thank you for your efforts, can i ask where can i find the file notes.db in my folder's app?

  • @jonathanmunday9210
    @jonathanmunday9210 2 года назад +1

    At 8:19 what must you put after onUpgrade: ? (after the colon: ) if you add new fields to your Create Table

    • @HeyFlutter
      @HeyFlutter  2 года назад +1

      Thank You Jonathan Munday! Follow this link: stackoverflow.com/questions/63347032/how-do-you-upgrade-a-flutter-app-with-sqlite-database
      I hope you will get your answer 🙂

  • @Lost.In.Spacetime
    @Lost.In.Spacetime 3 года назад

    Thank you! Is the updating for "isImportant" working? When I try to update the "isImportant" of an already created note, it doesn't update.. I can't figure out how to fix it.. :(

  • @IzLightG
    @IzLightG Год назад

    Ty, it really help me so much!
    Following the note model, how can add ManyToMany relationship with other table?

    • @HeyFlutter
      @HeyFlutter  Год назад +1

      Thank You Alan Gómez! Follow this link: www.back4app.com/docs/flutter/parse-sdk/data-objects/flutter-many-to-many-relationship
      I hope you will get your answer 🙂

  • @roninspect4357
    @roninspect4357 6 месяцев назад

    thanks a lot

    • @HeyFlutter
      @HeyFlutter  6 месяцев назад

      You are welcome, @roninspect4357 😊

  • @kamrulibnzaman
    @kamrulibnzaman Год назад

    Thank you very much for the video and also providing the code for free.

    • @HeyFlutter
      @HeyFlutter  Год назад

      You’re most welcome, Kamrul Ibn Zaman! 🙂

  • @JuanDavid-hl9gy
    @JuanDavid-hl9gy 3 года назад +1

    Great video man! . Can you make a video about how to retrieve data from firestore and save it in a CSV file?

    • @HeyFlutter
      @HeyFlutter  Год назад

      Thanks, Juan David! 🙂 Check out my videos about Firestore here. Instead of CSV File you could also use JSON files
      0. Load JSON Tutorial: ruclips.net/video/Rlf5q2EGHzc/видео.html
      1. Store JSON Tutorial: ruclips.net/video/-32HIsRf26o/видео.html
      2. Firebase CRUD Tutorial: ruclips.net/video/EV2DyrKOqrY/видео.html
      3. Todo App With Firebase Tutorial: ruclips.net/video/EV2DyrKOqrY/видео.html
      4. Pagination With Firebase Tutorial: ruclips.net/video/IruuzPydPz4/видео.html
      5. ChatApp With Firebase Tutorial: ruclips.net/video/wHIcJDQbBFs/видео.html

  • @Dawamid
    @Dawamid 3 года назад

    Maa syaa allah tabaarakallah

  • @NithinKumar.P
    @NithinKumar.P 2 года назад

    is it possible using sqflite to create database such as for example we have user form with dropdown menu animals and birds. If user selects animals, all input textfields only related to animals should display and store the animals related info in animals table separately and viceversa for birds..input textfields only related to birds should store in separate table. but both the birds and animals list should be accesible from home screen.

  • @mahanshiran5037
    @mahanshiran5037 2 года назад +2

    Thank you for the perfect tutorial. I have a question, what if I want to have a list of initial data, so that anyone who download this app will have these data already stored in the app?

    • @ntandotshongweni5240
      @ntandotshongweni5240 3 месяца назад

      Don't know if it's the correct approach. But I just called create method inside the _CreateDB after creating the table.

  • @achieverstv8244
    @achieverstv8244 4 месяца назад

    Thanks for the tutorial.
    You'll have to write a lot of code in flutter for SQL than C#.

    • @HeyFlutter
      @HeyFlutter  4 месяца назад

      Yeah, @achieverstv8244 🙂

  • @innocentphilbert717
    @innocentphilbert717 3 года назад

    thank you Johannes
    also are need explanation on how to connect flutter app with firebase

    • @HeyFlutter
      @HeyFlutter  Год назад

      Thank you 😊, innocent philbert! Check out this playlist on flutter and firebase : ruclips.net/video/Z0jFkP0A3B0/видео.html

  • @davidmtundi3400
    @davidmtundi3400 2 года назад +1

    nice one

    • @davidmtundi3400
      @davidmtundi3400 2 года назад

      @@HeyFlutter you can't believe i have listened to this video for more than 7 times, it's very interesting and has helped me a lot in my final year project, thank you man

  • @fouxastories2312
    @fouxastories2312 2 года назад

    Thank you, you are god!

  • @enricoantonio3282
    @enricoantonio3282 2 года назад

    Hey Johannes. Thank you for making this video. This is a perfect tutorial for sqlite. But I'm still confused what is the used of isImportant and number in the database?

    • @d-apps2699
      @d-apps2699 2 года назад

      Enrico you mean why was used number instead of the bool value? If so its because sql cannot handle bool values so we can control it by using number, false = 0 and true = 1, like on/off

  • @dargwa1046
    @dargwa1046 2 года назад

    thank you very much for the video, I wanted to know if it is possible to send an icon to the database and then display it in a widget for example, if so how to do?

    • @HeyFlutter
      @HeyFlutter  Год назад

      Thank You DARGWA! Follow this link: stackoverflow.com/questions/59369988/save-icondata-and-restore-in-flutter
      I hope you will get your answer 🙂

  • @aligohar1708
    @aligohar1708 Год назад

    Reading his code shows his experience

  • @rabbihossen9734
    @rabbihossen9734 2 года назад

    Thank you. I need to know how to add bookmark in local device storage.

    • @HeyFlutter
      @HeyFlutter  Год назад

      Thank You Rabbi Hossen! Follow this link: stackoverflow.com/questions/41369633/how-to-save-to-local-storage-using-flutter
      I hope you will get your answer 🙂

  • @4dovescreative2023
    @4dovescreative2023 2 года назад

    Hi Johannes, thank you for another great tutorial. I have managed to write all the code for the db with all my relevant fields but I don't want to use it for a 'note app' I need to make my db work for a 'medications list'. I want the user to be able to list all their meds etc and then retrieve/update/delete from more of a form field type UI. Could you please give me some ideas on how to develop the screen so this would work with my newly created db?
    I hope this makes sense, I am very new to coding and this is my first app!
    Kind regards
    Jane

    • @HeyFlutter
      @HeyFlutter  Год назад +1

      Thanks, Jane Maddison! 🙂 Simply start with something more simple as your first app. This should be your first app: ruclips.net/video/UPSsxGQRIzs/видео.html

  • @mohammedasha98
    @mohammedasha98 2 года назад +1

    hello dear,
    Can you explain in video how use search on data with sqf 🌻

  • @TrikNgonlen
    @TrikNgonlen 3 года назад

    Awesome! As always...
    Hi, @Johannes Milke I wonder how to implement "saving data from internet/web-service to this kind of local database" to work like WhatsApp or Telegram. Any idea? or Do you plan to make tutorial about that thing?

    • @TrikNgonlen
      @TrikNgonlen 3 года назад

      Terima kasih atas balasannya, @@HeyFlutter...
      That was great answer!
      But, it will be hard for me, since I'm still newbie... anyway, thanks a lot

    • @HeyFlutter
      @HeyFlutter  Год назад

      Thanks, Trik! 🙂 Simply download the files / data first and then store it your database such as learned in this of this tutorial. Learn more about loading data from the internet here: ruclips.net/video/Rlf5q2EGHzc/видео.html

  • @justindelarapa1551
    @justindelarapa1551 2 года назад +1

    Hi, I am currently learning flutter and Dart, Just have a little question. Why do we need to pass the value of "id" from INSERT method into the "Note" object using the COPY method?

    • @HeyFlutter
      @HeyFlutter  Год назад

      Thank You Justin Dela Rapa! Follow this link: stackoverflow.com/questions/59967096/add-id-or-name-property-or-other-means-of-identification-for-flutter-web-applica
      I hope you will get your answer 🙂

    • @morrigan_ghost
      @morrigan_ghost Год назад

      I have the same question actually

  • @Fathin-no9hc
    @Fathin-no9hc Год назад

    thanks a lot for the video sir. I want to ask if the Copy function is really needed in the Create function? can I change the return type of the Create function from Note to just void?

    • @HeyFlutter
      @HeyFlutter  Год назад

      Thank you, Fathin Al Ghifari! 🙂. Then it will not work.

    • @morrigan_ghost
      @morrigan_ghost Год назад

      @@HeyFlutter what if replace the copy method with setter for ID field ? Idk why we need to copy all fields if we change only one.
      Thanks, Johannes, for your work!

  • @saadebad4123
    @saadebad4123 2 года назад +1

    did you do this in null safety version ?

  • @dhillonj75
    @dhillonj75 2 года назад

    can you pleasemake a video on how to add and use excel in flutter .

  • @wishiwasamillionaire
    @wishiwasamillionaire 2 года назад

    Thanks again for the tutorial! I've noticed that after following your instructions, it works perfectly on iOS devices, but for some reason, on Android, the connection to the database is intermittently lost, when you leave the screen and return to it etc, such that even if you managed to store something in it, you can't see it. Is there any reason why this might be, on Android only (still working perfectly on iOS?

    • @wishiwasamillionaire
      @wishiwasamillionaire 2 года назад +1

      @@HeyFlutter You're welcome! Honestly, they are second to none. There was no error but I have actually managed to resolve it. Basically, I have tabbed sections on the app screen. Each section has its own sqflite table/database. What I had done was to have a separate database for each, each with its own table. I think that was the issue, when switching between tabs. Why might that be? Instead, what I have done is create a new database, with multiple tables. With just the one database, with tables for each tab, it seems to be working fine now :)

    • @adityahiranwale1279
      @adityahiranwale1279 Год назад

      try putting the dispose method in a different file, i had this same issue so i solved it by moving it the the logout button of my app so the db connection was lost when logout was pressed.

  • @adilahusin
    @adilahusin Год назад

    Hi do you have tutorials flutter dart using sqlite for email login page? In which for login they read data from database

    • @HeyFlutter
      @HeyFlutter  Год назад +1

      Hey 😊, @adilahusin! Check out this video: ruclips.net/video/-32HIsRf26o/видео.html I hope it may help you

  • @kucingmalaya1177
    @kucingmalaya1177 2 года назад

    Hye, im new to SQflite, Firebase database has console in their website, but where is the database for SQflite? I want to see the structure, table and so on.

    • @HeyFlutter
      @HeyFlutter  Год назад

      Thank You Kucing Malaya! Follow this link: medium.com/flutter-community/using-sqlite-in-flutter-187c1a82e8b
      I hope you will get your answer 🙂

  • @AboEyadwagih
    @AboEyadwagih 2 года назад

    when i open app just loading and when i select add save not work >>please correct me

  • @ashishrana5773
    @ashishrana5773 Год назад

    Thank you so much for the great tutorial. i have a question, if i want to create a user registration form, how would i achieve it ?

    • @HeyFlutter
      @HeyFlutter  Год назад +1

      Thank You ashish rana! Follow this link: ruclips.net/video/G-TQyWjkCME/видео.html&ab_channel=EasyCodingwithAmmara
      I hope you will get your answer 🙂

    • @ashishrana5773
      @ashishrana5773 Год назад

      @@HeyFlutter that’s so kind of you. Really appreciated.

  • @MK-qo9or
    @MK-qo9or 3 года назад +1

    Hi, Thanks for the video . I followed your whole tutorial and did some side projects, but am having problems with update function , it is not updating from my database , I check your github project and couldn`t solve the problem . am getting error null type Null isn't supported .

    • @MK-qo9or
      @MK-qo9or 3 года назад

      You had to delete my comment , you could have just said I can’t answer you sorry 😕