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

แชร์
ฝัง

ความคิดเห็น • 331

  • @HeyFlutter
    @HeyFlutter  2 ปีที่แล้ว +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: th-cam.com/video/szOllHT1S7Y/w-d-xo.html
    Shared Preferences II Persist JSON Data Tutorial: th-cam.com/video/-32HIsRf26o/w-d-xo.html
    Todo App From Scratch Tutorial: th-cam.com/video/kN9Yfd4fu04/w-d-xo.html
    Firebase CRUD Tutorial: th-cam.com/video/EV2DyrKOqrY/w-d-xo.html
    Secure Storage Tutorial: th-cam.com/video/Oqhrxk_f1RE/w-d-xo.html
    Search App Bar & Search Delegate Tutorial: th-cam.com/video/RaACAwvZ61E/w-d-xo.html
    Crop & Save Images Tutorial: th-cam.com/video/pXbBTJt7frM/w-d-xo.html
    Store Image Tutorial: th-cam.com/video/JDDoN2THwug/w-d-xo.html
    Selectable DataTable Tutorial: th-cam.com/video/HZD-0zgpuak/w-d-xo.html
    Deploy Flutter Web App Tutorial: th-cam.com/video/xJo7Mqse960/w-d-xo.html
    Create Invoice PDF Document Tutorial: th-cam.com/video/z_5xkhEkc5Y/w-d-xo.html
    Google SignIn Tutorial: th-cam.com/video/ogW83xGQGTg/w-d-xo.html
    Email Sign In Tutorial: th-cam.com/video/rnHAInnjCmM/w-d-xo.html
    App Internationalization Tutorial: th-cam.com/video/Zw4KoorVxgg/w-d-xo.html
    Migrate App To Null Safety Tutorial: th-cam.com/video/GLnQphHi1BY/w-d-xo.html
    Null Safety In 5 Minutes Tutorial: th-cam.com/video/Q_WloMNKOkU/w-d-xo.html
    Autofill Services Tutorial: th-cam.com/video/v8T4fnrQCf0/w-d-xo.html

  • @shivlochawala2562
    @shivlochawala2562 3 ปีที่แล้ว +6

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

  • @network911timba
    @network911timba 3 ปีที่แล้ว +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

  • @maxr1112
    @maxr1112 2 ปีที่แล้ว +3

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

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว +1

      Thanks, Max R! 🙂

    • @maxr1112
      @maxr1112 2 ปีที่แล้ว

      @@HeyFlutter You got yourself a new subscriber!

  • @erenkaraboga8570
    @erenkaraboga8570 2 ปีที่แล้ว

    Best flutter tutorial channel in English

  • @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

  • @jonathanscottmunday
    @jonathanscottmunday 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 🙂

  • @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 :)

  • @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

  • @nimacode
    @nimacode 3 ปีที่แล้ว

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

  • @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 3 ปีที่แล้ว

      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 3 ปีที่แล้ว

      @@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 3 ปีที่แล้ว

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

  • @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!! :)

  • @omarattiaelserafy2090
    @omarattiaelserafy2090 2 ปีที่แล้ว

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

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Glad to hear that, Thank you omar attia! 😊

  • @SoulssWeaver
    @SoulssWeaver 2 ปีที่แล้ว

    Best flutter tutorial! This is the basis of all apps

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank you, John! 🙂

  • @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 2 ปีที่แล้ว

      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],
      );
      }

  • @drooner
    @drooner 3 ปีที่แล้ว +3

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

  • @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 😀

  • @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

  • @pranthonyaquino
    @pranthonyaquino 3 ปีที่แล้ว +1

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

  • @heroliper6493
    @heroliper6493 3 ปีที่แล้ว

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

  • @turtleyoda7703
    @turtleyoda7703 3 ปีที่แล้ว +1

    Your channel is amazing. Keep up

  • @mahanshiran5037
    @mahanshiran5037 3 ปีที่แล้ว +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 11 หลายเดือนก่อน

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

  • @pierremarais7669
    @pierremarais7669 3 ปีที่แล้ว

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

  • @pcoderajap2913
    @pcoderajap2913 3 ปีที่แล้ว

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

  • @tharukerajapaksha3652
    @tharukerajapaksha3652 3 ปีที่แล้ว

    My flutter teacher is you sir

  • @vadymkon
    @vadymkon ปีที่แล้ว

    Where you create StaggeredGridView and StaggeredTile???

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว +1

      Thank You @vadymkon! Follow this link: pub.dev/packages/flutter_staggered_grid_view
      I hope you will get your answer 🙂

  • @feutioclide7345
    @feutioclide7345 3 ปีที่แล้ว

    you deserve a reward. Thanks

  • @TechyChung
    @TechyChung 3 ปีที่แล้ว

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

  • @Valeriaduranruiz
    @Valeriaduranruiz 2 ปีที่แล้ว

    2:30 Since MOOR is built on top of SQLite , isn’t MOOR still a SQL database?

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank You Valeria Durán Ruiz! Follow this link: blog.codemagic.io/choosing-the-right-database-for-your-flutter-app/
      I hope you will get your answer 🙂

  • @saadebad4123
    @saadebad4123 3 ปีที่แล้ว +1

    did you do this in null safety version ?

  • @rabbihossen9734
    @rabbihossen9734 2 ปีที่แล้ว

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

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      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 🙂

  • @FitnessGeek12
    @FitnessGeek12 3 ปีที่แล้ว

    Just subscribed your channel ! Loved this video ❤

  • @Dichill
    @Dichill 3 ปีที่แล้ว

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

  • @md.ruhulamin7963
    @md.ruhulamin7963 3 ปีที่แล้ว

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

  • @achinhchin
    @achinhchin 3 ปีที่แล้ว

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

  • @Bootngoals
    @Bootngoals 3 ปีที่แล้ว

    Another great Tutorial. Nice job Man.

  • @mugume
    @mugume 2 ปีที่แล้ว

    A very beautiful and excellent tutorial. Thank you @Johannes

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

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

  • @suniltimilsina7425
    @suniltimilsina7425 3 ปีที่แล้ว

    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

    • @FelexAndVirginia
      @FelexAndVirginia 3 ปีที่แล้ว

      @@HeyFlutter that article saved me was stuck at db. query() i just changed it to db?.query()

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank You Tech2Program! Follow this link: medium.com/@thinkdigitalsoftware/null-aware-operators-in-dart-53ffb8ae80bb
      I hope you will get your answer 🙂

  • @rameshkrishnan6754
    @rameshkrishnan6754 3 ปีที่แล้ว

    Best video on sqflite!🔥

  • @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 🙂

  • @uditmishra5583
    @uditmishra5583 2 ปีที่แล้ว

    outstanding explanation man,thanks

  • @mohammedasha98
    @mohammedasha98 3 ปีที่แล้ว +1

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

  • @ekoprasetyo3999
    @ekoprasetyo3999 3 ปีที่แล้ว

    Your videos are awesome

  • @parisleah4567
    @parisleah4567 2 ปีที่แล้ว +1

    [Problem] SqfliteDatabaseException (DatabaseException(no such table: shop
    I added more await db.execute('''CREATE TABLE ") below the table first one and this Exception appeared, Like my new 'shop' table is not on created

    • @parisleah4567
      @parisleah4567 2 ปีที่แล้ว +1

      [Solved] I solved this

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank you, ParisLeah! 🙂

  • @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: th-cam.com/video/-32HIsRf26o/w-d-xo.html I hope it may help you

  • @dargwa1046
    @dargwa1046 3 ปีที่แล้ว

    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  2 ปีที่แล้ว

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

  • @AbdullahHattab
    @AbdullahHattab 3 ปีที่แล้ว

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

  • @coolnanel
    @coolnanel 3 ปีที่แล้ว

    Amazing!! Thanks Johannes

  • @AboEyadwagih
    @AboEyadwagih 2 ปีที่แล้ว

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

  • @ashishrana5773
    @ashishrana5773 2 ปีที่แล้ว

    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  2 ปีที่แล้ว +1

      Thank You ashish rana! Follow this link: th-cam.com/video/G-TQyWjkCME/w-d-xo.html&ab_channel=EasyCodingwithAmmara
      I hope you will get your answer 🙂

    • @ashishrana5773
      @ashishrana5773 2 ปีที่แล้ว

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

  • @snowball5407
    @snowball5407 3 ปีที่แล้ว

    Your sound is very easy to understand

  • @kucingmalaya1177
    @kucingmalaya1177 3 ปีที่แล้ว

    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  2 ปีที่แล้ว

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

  • @somethingwithit9768
    @somethingwithit9768 2 ปีที่แล้ว

    Really helpful explanation. Thank you very much !!

  • @nhannguyenvanthanh8604
    @nhannguyenvanthanh8604 2 ปีที่แล้ว

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

  • @NithinKumar.P
    @NithinKumar.P 3 ปีที่แล้ว

    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.

  • @user-xe8vl9eh9l
    @user-xe8vl9eh9l 3 ปีที่แล้ว

    hi johannes ,how to delete the automatically without the user interface after certain time like 1 day or if the jobs done

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank You s! Follow this link: stackoverflow.com/questions/64819550/how-to-automatically-remove-data-from-firestore-after-a-specific-time
      I hope you will get your answer 🙂

    • @user-xe8vl9eh9l
      @user-xe8vl9eh9l 2 ปีที่แล้ว

      @@HeyFlutter hi johannes how to bloc third party keyboard in flutter app

  • @justindelarapa1551
    @justindelarapa1551 3 ปีที่แล้ว +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  2 ปีที่แล้ว

      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 2 ปีที่แล้ว

      I have the same question actually

  • @wezone88
    @wezone88 3 ปีที่แล้ว

    I can all methods(create, delete, etc.) insert in Note type class? I have more one table

    • @wezone88
      @wezone88 3 ปีที่แล้ว

      @@HeyFlutter I need answer))

  • @Nguyenabcd1
    @Nguyenabcd1 ปีที่แล้ว

    I love your video. I downloaded it and opened it by visual studio code. I get a lot of errors, such as "Use 'const' for final variables initialized to a constant value. Try replacing 'final' with 'const'." or " Convert 'key' to a super parameter. ". Please tell me why. I am a beginner and therefore it is very difficult for me to fix them.

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Hey, @Nguyenabcd1 🙂 This is happening because flutter keeps on updating their stuff to make more reliable and efficient. The errors that you are facing are nothing but warnings that will help you write better and efficient code.

  • @edwardjo9064
    @edwardjo9064 3 ปีที่แล้ว

    Thank you, Johannes! 👍

  • @pcoderajap2913
    @pcoderajap2913 3 ปีที่แล้ว

    do u av a video on getting data from a to external server via http calls?

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank You PCoder Ajap! Follow this link: docs.flutter.dev/cookbook/networking/fetch-data
      I hope you will get your answer 🙂

  • @Fathin-no9hc
    @Fathin-no9hc 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

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

    • @morrigan_ghost
      @morrigan_ghost 2 ปีที่แล้ว

      @@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!

  • @terenceflowers9159
    @terenceflowers9159 3 ปีที่แล้ว

    Extremely helpful! Thank you!

  • @vicenterusso
    @vicenterusso 3 ปีที่แล้ว

    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?

  • @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.

  • @dhillonj75
    @dhillonj75 2 ปีที่แล้ว

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

  • @BareqRaad
    @BareqRaad 2 ปีที่แล้ว

    how to check if some error happend and the note didnt added for example if i decided not to add identical notes if it exist ?

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank You Bareq Raad! Follow this link: medium.com/flutter-community/error-handling-in-flutter-98fce88a34f0
      I hope you will get your answer 🙂

  • @priyadarshinichettiar6750
    @priyadarshinichettiar6750 3 ปีที่แล้ว

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

  • @maqquse5967
    @maqquse5967 2 ปีที่แล้ว

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

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว +1

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

  • @Hello-eq5rm
    @Hello-eq5rm 3 ปีที่แล้ว

    Such a nice content !!!

  • @achieverstv8244
    @achieverstv8244 ปีที่แล้ว

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

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Yeah, @achieverstv8244 🙂

  • @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 😕

  • @aligohar1708
    @aligohar1708 2 ปีที่แล้ว

    Reading his code shows his experience

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว +1

      Thanks, Ali Gohar! 🙂

  • @darmawanzulkifli1103
    @darmawanzulkifli1103 3 ปีที่แล้ว

    How to add new attribute or some table to an existing app without losing our existing data ?

    • @darmawanzulkifli1103
      @darmawanzulkifli1103 3 ปีที่แล้ว

      @@HeyFlutter thanks for replaying. i am looking for solution. i have an existing app in playstore/appstore and both of them using sqflite. and now we want release new app version and in this version we have a new `alter table` or modifying/adding some table or adding initial data to some table. but when we try to install it in existing apps the modify for table/database in new version not working without loosing user existing data. did you have any experience on it ?

  • @cassidy318
    @cassidy318 2 ปีที่แล้ว

    Im stuck. How do I retrieve the id when im reading one of the databases. I'm using this with Bloc pattern to emit the values form the database

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank You Mathew! Follow this link: stackoverflow.com/questions/58796154/how-to-retrieve-particular-data-using-sqlflite-in-flutter
      I hope you will get your answer 🙂

  • @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  2 ปีที่แล้ว

      Thanks, Juan David! 🙂 Check out my videos about Firestore here. Instead of CSV File you could also use JSON files
      0. Load JSON Tutorial: th-cam.com/video/Rlf5q2EGHzc/w-d-xo.html
      1. Store JSON Tutorial: th-cam.com/video/-32HIsRf26o/w-d-xo.html
      2. Firebase CRUD Tutorial: th-cam.com/video/EV2DyrKOqrY/w-d-xo.html
      3. Todo App With Firebase Tutorial: th-cam.com/video/EV2DyrKOqrY/w-d-xo.html
      4. Pagination With Firebase Tutorial: th-cam.com/video/IruuzPydPz4/w-d-xo.html
      5. ChatApp With Firebase Tutorial: th-cam.com/video/wHIcJDQbBFs/w-d-xo.html

  • @dp3587
    @dp3587 2 ปีที่แล้ว

    Hello, I am having an issue where it says I have duplicate column names. Any idea on what that is?

    • @dp3587
      @dp3587 2 ปีที่แล้ว

      @@HeyFlutter Hello! The issue was I had some extra commas I forgot to take out. I have another question though. Is it okay for me to use and transform this code for a school project? I would properly cite you of course! Thanks!

  • @shayan9183
    @shayan9183 3 ปีที่แล้ว

    I want to use local database in my flutter desktop app. So which database is best for flutter desktop app??????

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank You Shayan! Follow this link: blog.logrocket.com/choosing-right-database-flutter-application/
      I hope you will get your answer 🙂

  • @FaridCenreng-
    @FaridCenreng- 2 ปีที่แล้ว

    I still don't understand about key, what is _formkey in your edit_note_page ?

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank you 😊, Farid Cenreng-1005! Check out this article for better understanding : medium.flutterdevs.com/keys-in-flutter-104fc01db48f?msclkid=87b89248a76911ecbf256fe00a70adf3

  • @magicaltorque
    @magicaltorque 3 ปีที่แล้ว

    Hi, I want to ask how to make the database work when turn to different pages using the bottom navigation bar?

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank You Wooloo! Follow this link: medium.com/flutterdevs/custom-animated-bottomnavigation-bar-in-flutter-65293e231e4a
      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.. :(

  • @hoanghuynhnguyen102
    @hoanghuynhnguyen102 3 ปีที่แล้ว

    How to add favorite in flutter with Sqlite . Thanks

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank you, huynh Nguyễn! 🙂 you simply need to create a table of items you want to add in favorite and then read it as shown in video

  • @SunGkd123
    @SunGkd123 3 ปีที่แล้ว

    Another great video 👍thank you so much

  • @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.

  • @brenholli
    @brenholli 2 ปีที่แล้ว

    Great project.. I have an issue and I need assistance. After following all the steps the app ain't working, it keeps showing the circular progress rotation. What did I do wrong? But I'm not getting any error messages

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank You bren holli! Follow this link: stackoverflow.com/questions/57890083/circular-progress-keeps-on-rotating
      I hope you will get your answer 🙂

  • @shahohabib8439
    @shahohabib8439 3 ปีที่แล้ว

    Thanks a lot for the great video ..would you please share the source code I checked provided link in the description but could not find it ...

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thanks, Shaho Habib! 🙂 The source code is available. Learn more about it here: github.com/JohannesMilke/sponsorware#1-why-is-the-source-code-not-available-on-github

  • @parisleah4567
    @parisleah4567 2 ปีที่แล้ว

    Why my second Table can't query all data and Emulator is freezed?

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank You ParisLeah! Follow this link: stackoverflow.com/questions/68780756/virtual-emulator-freeze-in-android-studio-on-windows-10
      I hope you will get your answer 🙂

  • @shubhanmmaurya
    @shubhanmmaurya 2 ปีที่แล้ว

    how to define if i have list object inside my modal class?

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank You shubhanm maurya! Follow this link: stackoverflow.com/questions/74998297/create-model-class-for-list-of-objects-within-an-object
      I hope you will get your answer 🙂

  • @supersaiyan2344
    @supersaiyan2344 2 ปีที่แล้ว

    Hi, can anyone tell me how we can view the database and the table in vs code the way we can see a database in php my admin?
    I need some visual aid when working with database, thank you.

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank You super saiyan! Follow this link: stackoverflow.com/questions/62658108/view-sqflite-table-contents-for-debugging
      I hope you will get your answer 🙂

  • @ahmadashraf7701
    @ahmadashraf7701 2 ปีที่แล้ว

    hi mike, can i use a sqflite with windows app in flutter?

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว +1

      Thank you, Ahmad Ashraf! 🙂. Yes you can.

  • @Zegger
    @Zegger 3 ปีที่แล้ว

    Cool tutorial but I haven't been able to use double for type, any ideas?

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank You Zegger! Follow this link: api.flutter.dev/flutter/dart-core/double-class.html
      I hope you will get your answer 🙂

  • @snowball5407
    @snowball5407 3 ปีที่แล้ว

    I would like to buy your course but it's no detail information on it T^T

  • @jonthuemichel9939
    @jonthuemichel9939 ปีที่แล้ว

    How do you sync storage to sql server?

  • @innocentphilbert717
    @innocentphilbert717 3 ปีที่แล้ว

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

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank you 😊, innocent philbert! Check out this playlist on flutter and firebase : th-cam.com/video/Z0jFkP0A3B0/w-d-xo.html

  • @martinkalewa4337
    @martinkalewa4337 3 ปีที่แล้ว

    nice tutorial, what if i want to upload image and text..... please can you help me?

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank You Martin Kalewa! Follow this link: stackoverflow.com/questions/65385803/how-to-upload-image-using-flutter-and-php-in-the-mysql
      I hope you will get your answer 🙂

  • @MegaAlexc123
    @MegaAlexc123 2 ปีที่แล้ว

    When I close the app and reopen it in the emulator, the previous inserted stuff isn't saved. Is it because it's on an emulator?

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

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

  • @raffazain
    @raffazain 3 ปีที่แล้ว

    Great tutorial, thank you

  • @naushilshah4074
    @naushilshah4074 3 ปีที่แล้ว

    Heyy Sir, Where can we find this database in our mobile phone? As we have not specified any path for the data storage

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Hello, Naushil! Follow this link: stackoverflow.com/questions/51384175/sqlite-in-flutter-how-database-assets-work/51387985#51387985, I hope you will find your answer. Thank You 🙂

  • @smartapps8770
    @smartapps8770 3 ปีที่แล้ว

    Cool, subscribed. Do we have paging?

    • @smartapps8770
      @smartapps8770 3 ปีที่แล้ว

      @@HeyFlutter Thanks, I'll look into it.

    • @smartapps8770
      @smartapps8770 3 ปีที่แล้ว

      How can we get 20 notes per page, we should not call readAllNotes() right? For example, I want to just get 20 notes, and when there is new page, get next 20 notes, and so on.

  • @supersaiyan2344
    @supersaiyan2344 2 ปีที่แล้ว

    Hello Johannes, great video, i wanted to ask a question about this video which is i am getting a late initialisation error for late Note note in view_note_detail.dart page and i tried solving it by looking it up on stack overflow and other website but it is not working and if i make a null check to late Note note then the late initialisation error goes away but wherever i use note to access title and other details it gives error that says null check operator used on a null value (clearly the title value is not null as it shows up on the note_list page) can you please guide me on how to solve this issue?
    Thank you very much.

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Hello, super saiyan! Follow this link: stackoverflow.com/questions/69373859/late-initialization-error-in-flutter-because-of-startdate
      I hope it will solve your problem. Thank You 🙂

    • @supersaiyan2344
      @supersaiyan2344 2 ปีที่แล้ว

      @@HeyFlutter Thanks