Flutter SQLite Tutorial With Null Safety || Notes App in Hindi/Urdu with CRUD Operations

Поділитися
Вставка
  • Опубліковано 26 вер 2021
  • In this video i will teach you how to we can use sqlite database in out flutter app to create the notes app. In this video i will also teach you how we can add the data to database, how we can fetch the list of data we store in database. How to delete and update the data in sql database.
    How to capture image from camera in flutter:
    Link : • How to capture Image f...
    My Card App Flutter :
    User Circular Avatar Part 1 : • My Card App || Flutter...
    Use fonts in flutter Part 2 : • My Card App || Flutter...
    Final Part 3 : • My Card App || Flutter...
    Hire me on Fiverr : www.fiverr.com/rnsolution
    Covid-19 Tracker App using Rest API's : • Create Coronavirus (CO...
    Firebase Blog App Android Java: • Firebase Blog App - Ho...
    C++ Tutorials : • C++ Programming Tutori... .
    _____________/Connect On Social Media\____________
    ► Instagram:➜ / axif_taj
    ► Facebook:➜ / aaxiftaj
    ► Twitter:➜ / axiftaj
    ► GitHub:➜ github.com/axiftaj
    =========================================
    For business queries : axiftaj@gmail.com
    Thank you for watching my channel do give feedback about this video.
    #flutter #fluttertutorial #sqlite #sql #sqflite #expandedwidget #listview builder #firebasetutorial #asiftaj
  • Наука та технологія

КОМЕНТАРІ • 99

  • @user-jd6tc7mf1v
    @user-jd6tc7mf1v 9 днів тому

    thank you so much sir .. i was struggling for two days to learn it but you made it halwa .... Allah taala apko jazai khair dy

  • @ermahipalshekhawat4389
    @ermahipalshekhawat4389 2 роки тому +2

    When I saw your post here, then blindly hit like button.
    Thankyou sir🙏

  • @ApexGenius_innovations
    @ApexGenius_innovations Рік тому

    One of the best sqlite flutter vedio in UA-cam

  • @user-mb5rg9ys5f
    @user-mb5rg9ys5f 7 місяців тому

    Jabh bhi aapki videos dekhta hun toh muje aapki khaansi yaad aajati h :)

  • @ismailhossain4730
    @ismailhossain4730 5 місяців тому

    Many many thanks, its working

  • @30vijaytyagi9
    @30vijaytyagi9 5 місяців тому +1

    Thank You Sir❤

  • @abdurrehman6203
    @abdurrehman6203 2 роки тому +3

    That's really amazing Bro

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому

      Thank you so much 😀

    • @abdurrehman6203
      @abdurrehman6203 2 роки тому +1

      @@thetechbrotherss u welcome sir😄...
      I attended your all sessions in DS4KP and when ever you explain any complex concept I understand it like English alphabet really sir,
      I wish you are my mentor sir

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому +1

      Thank you so much for your kind. Keep watching keep sharing.

    • @AIHauntedHorizons-e3g
      @AIHauntedHorizons-e3g 2 роки тому

      @@abdurrehman6203 aslam o alikum sir how to read data from external file sqlite

  • @mirzaadeeljamal5165
    @mirzaadeeljamal5165 Рік тому +2

    Everything is going above my head, I don't understand the Map thing, you could have explained this while creating map and db_ as I'm beginner and not understand a single word. But I really appreciate your effort and skill sharing brother
    .

    • @thetechbrotherss
      @thetechbrotherss  Рік тому

      I agree sir I haven’t share the knowledge i was supposed to share. I am making this video private and will create new video

  • @stkaskn2276
    @stkaskn2276 2 роки тому

    THANK YOU SO MUCH.
    I tried more than 20 methods but it didn't work.
    But it worked with the code you wrote. Thanks .
    I have a few questions.
    How do I access this database file from outside with VSCode.

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому +1

      Can you elaborate your question, "outside with VSCode" ?

    • @stkaskn2276
      @stkaskn2276 2 роки тому

      @@thetechbrotherss i have done a web and desktop project with c# and mssql. i also did a mobile project with flutter. I dec to make a connection between them.

    • @stkaskn2276
      @stkaskn2276 2 роки тому

      @@thetechbrotherss i tried using mssql in flutter, but I got errors.

  • @ibrahimmobamed2495
    @ibrahimmobamed2495 2 роки тому +1

    thank you very much sir this app is complete or have a part two that have a data from user

  • @sunnypasswala8007
    @sunnypasswala8007 Рік тому

    Bro.... Your Efforts are Appreciatable No Doubt, But Please Do Mention & Eloborate What are your doing in the Tutorial...Don't Do It Like Procedure ..Yess its Going to be Super Easy but at your Level Not for Begginers.

    • @thetechbrotherss
      @thetechbrotherss  Рік тому +1

      I appreciate your feedback and agree with you, this was an old tutorial and this is the only tutorial where i didn't explain very well. I am sorry

  • @sunilnimaje6129
    @sunilnimaje6129 Рік тому +1

    pls provide github link of project in description, which you explain on youtube , so that is more use full for new learner of flutter.

  • @BeyondControll
    @BeyondControll 5 місяців тому

    bhai Sqflite database ke upar ak new video La do basic to advanced how to store , fetch , delete data . Ye video me thora samajh nahi a raha dhang se .please aap isi video ke code ko reuse karke ak baar dhang se new tareke samjha do . Thank you

  • @motasimfuad7762
    @motasimfuad7762 2 роки тому +1

    Can you please show, how to keep the last item at the top? I tried shrinkWrap and reverse. It works when the list items are inside the page. But when the list grows, the newly created item stays behind the appBar.

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому

      you can reverse your array list not the listview builder and then it will sort the data. Or you can add time stamp and then fetch the data in ascending order using time stamp. Beside this set reverse == true in listview builder and wrap children with container and give it height like your card height is 20 then give it a height * your list length. I won't recommend this last method.

    • @pranjal-barnwal
      @pranjal-barnwal Рік тому

      Future getNotesList() async {
      var dbClient = await db;
      final List queryResult = await dbClient!.query('notes');
      return queryResult.map((e) => NotesModel.fromMap(e)).toList().reversed.toList();
      }
      Change the code in db_handler.dart file
      Basically humne phle list bnaya fir usko reverse kr diya

  • @ahmadzafar5786
    @ahmadzafar5786 2 роки тому +2

    There is a glitch in your code,let me explain
    you declare id as nullable,so if somebody doesnot provide value of model class during insert method the id will be auto generated and when we will view there will be error 'String is not a subtype of null',So we have to check if any value is empty the id should not be auto generated,I dont know how to this at this time

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому +1

      I'm assuming you will not let user pass null values, this is just to make you understand concepts rest you can play with this

  • @hamzashehzad7273
    @hamzashehzad7273 Рік тому

    Sir vedio ki length ziada hu jaye koi issue nhi h but explain zrur krain jasy is vedio m thanks sir 👍

  • @saifrehman669
    @saifrehman669 Рік тому

    Salam, have you make tutorial on Rest API model class data with sqflite? i wanna make my app( which one getting data from API) offline, which one get data from API, store in sqflite and app get data from data base, in short offline app, please hep

    • @thetechbrotherss
      @thetechbrotherss  Рік тому +1

      You can can use these concepts for api you can watch my api playlist.

  • @MuhammadAdnan-vs5cx
    @MuhammadAdnan-vs5cx 2 роки тому

    In software houses ai calling and firebase is more demanded

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому +1

      Yes, you can say that. But this was just a simple tutorials to teach some basic concepts of SQL in flutter with example so you can use them according to your requirements like creating cart etc.

  • @y57krimapatel18
    @y57krimapatel18 4 місяці тому

    Sir one video is create image store in SQLite database

  • @talhasahi1458
    @talhasahi1458 2 роки тому +1

    Okay

  • @irfanganatra537
    @irfanganatra537 2 роки тому +1

    is source code available?
    I m failing due to an error
    I have taken 3 fields only
    error "incomplete input in "CREATE TABLE contacts (id INTEGER PRIMARY KEY AUTOINCREMENT,title TEXT NOT NULL,detail TEXT NOT NULL""

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому

      yes github.com/axiftaj do leave a star

    • @shariqali2827
      @shariqali2827 2 роки тому

      conflictAlgorithm: ConflictAlgorithm.replace
      use this in insert function

  • @shwetalukka529
    @shwetalukka529 2 роки тому

    Sir can u plz help me? I m getting null safety error in each and every place of database can u plz help me?

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому

      Please uninstall the app and re run it after adding package else see the source
      code github.com/axiftaj

  • @MrHaroonAhmedChannel
    @MrHaroonAhmedChannel Місяць тому

    Sir write kis tarah karengay data dynamically.

    • @thetechbrotherss
      @thetechbrotherss  Місяць тому

      take values from user and write insert query like we did in this course

  • @faizanchaudhry8754
    @faizanchaudhry8754 8 місяців тому

    I faced an error which is "unexpected null value"what i do and in your vedio you also faced the error of nullable value and you said that you guys referesh the project i did many time but the error still
    what i do

  • @aburayhan7208
    @aburayhan7208 Рік тому +1

    easiest ...

  • @proQ101
    @proQ101 Рік тому

    Assalam o Alikum ! when you make the notesModel.from contructer you decleared the Map.............but in body when you assighn the value to id it gives error because id is not type of string it is integer so brother make it correct and declear the type of map to object and dynamic

    • @thetechbrotherss
      @thetechbrotherss  Рік тому

      Thank you for sharing your knowledge sir

    • @proQ101
      @proQ101 Рік тому

      @@thetechbrotherss No prob Brother .........and Please call me Brother because i am also Student 😛

  • @pkr1kajdjasdljskjdjsadjlaskdja
    @pkr1kajdjasdljskjdjsadjlaskdja 6 місяців тому

    bhai kiya hum notes ko store kar sakte hai in mobile app yes than how ?

    • @thetechbrotherss
      @thetechbrotherss  6 місяців тому

      Jaise is lectured ma kia hain waise kr skty ha

  • @NoorMuhammad-ol6bq
    @NoorMuhammad-ol6bq 2 роки тому +1

    I have an error on list view.

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому +1

      Please always state your issue in first comment. Any ways you can check the source code on my github account github.com/axiftaj

  • @imranashraf9027
    @imranashraf9027 Рік тому

    Kindly tell me how to Show the data table in DB browser.

    • @thetechbrotherss
      @thetechbrotherss  Рік тому

      bhai used table widget if you want to show data in tables and map the data.

    • @imranashraf9027
      @imranashraf9027 Рік тому

      @@thetechbrotherss G shukrya bhai

    • @imranashraf9027
      @imranashraf9027 Рік тому

      Bhai kindly 1 or chez bta dain k agr hm user sy Database update krwa rhen hain to update k bad usy save kesy kren gy??

  • @m.muddsarahmad4280
    @m.muddsarahmad4280 21 день тому

    Sir comment thora lengthy ho gya ha but complete parhiy ga. shukriya !
    sir app ya btaty hai k kia krna ha or ksy krna ha but ya ni smjhaty k yahi q krna ha or ya krny sy hoga kia. to pleas why pr bhi focus kia kry.
    for example 7:08 pr ap ny ya to bta diya k NoteModel.fromMap .............. but ya ni btaya k ya hum use q kr rahy ha.
    ya sirf example thi isi tarha hota ha baqio me bhi taqreeban. sir kindly naraz ni hona ya ak feedback ha. because jab hum is tarha learn kry gy smjh to lgy gi ni or ratty wala system ho jay ga but programing ratta ni hoti. ma sha allah ap parhany ka treeqa acha ha, jo coding methedology ya strategy use krty ha wo bhi sae hota ha . bus teaching ko improve krny k liy why pr bhi focus zarur kia kry. is sy humry learningme bhi izafa ha ga.

    • @thetechbrotherss
      @thetechbrotherss  20 днів тому

      Ma ap ki bat sy agree krta hu, yeah mere pehle playlist this jb mainy tutorials bnana start kia tha
      muje itna idea ni tha k kiss level par ja k smjhana ha r kya explain krna
      main is playlist ko down krta hu, is playlist ma muje same feedback mila ha
      lkn jo new content ha it's of next level, i received really good feedback

    • @m.muddsarahmad4280
      @m.muddsarahmad4280 20 днів тому

      @@thetechbrotherss to sir yahi cheezy agr smjhni ho sae sy details me to ap ny is playlist ko update kia ho ya krny ka plan ho. Q k ap jia sequence me lekr gay hai chezo ko it really appreciative.

  • @surbhipaliwal3576
    @surbhipaliwal3576 2 місяці тому

    bhaiya isme rest api bhi include h kya

  • @farhanaliali5247
    @farhanaliali5247 Рік тому

    Sir this is very lengthy code for me i m a new student how can i learn this 😢

  • @machodge2021
    @machodge2021 Рік тому +1

    Can you please explain , how you have removed null safe after refreshing dependencies? I have tried your method but null check error is still there.

    • @thetechbrotherss
      @thetechbrotherss  Рік тому

      you cna take the source code from github.com/axiftaj

    • @machodge2021
      @machodge2021 Рік тому

      @@thetechbrotherss I have checked the source code but the Model class is missing there. Can you please share the repository which has model class ?

    • @Quotasticmind3157
      @Quotasticmind3157 Рік тому

      @@thetechbrotherss Sir github me notes.dart screen nhi hain sir mian bi is main stuck hoya ho

    • @Quotasticmind3157
      @Quotasticmind3157 Рік тому

      @@machodge2021 same problem

    • @Quotasticmind3157
      @Quotasticmind3157 Рік тому

      @@thetechbrotherss home screen bi nhi hain our notes screen bhi nhi hain

  • @CodeWithPrajwol
    @CodeWithPrajwol 2 роки тому

    Great video sir. Is there any way that I can contact you as I am a beginner and I was hoping that you can assist me?

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому

      Linked in or insta or you can join my facebook community.

  • @mohitverma4580
    @mohitverma4580 7 місяців тому

    Late initialisation error notesList😢
    Please help me

    • @thetechbrotherss
      @thetechbrotherss  7 місяців тому

      take the source code from my github

    • @mohitverma4580
      @mohitverma4580 7 місяців тому

      Table notes has no column named I'd in insert into notes

  • @user-mb5rg9ys5f
    @user-mb5rg9ys5f 7 місяців тому +1

    Error ❎
    Spelling Mistake ✅

  • @sumiharsola6043
    @sumiharsola6043 2 роки тому +1

    Source code

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому

      Do subscribe and share with your friends.
      github.com/axiftaj/SQL-Notes-App

  • @adarshthanju6166
    @adarshthanju6166 2 роки тому +1

    source code?

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому

      check my github.com/axiftaj

    • @talhasahi1458
      @talhasahi1458 2 роки тому

      @@thetechbrotherss Bhai Source code ka link rukh do description ma github pr to nhi mila

  • @Unknown-ws1mu
    @Unknown-ws1mu 5 місяців тому

    Sir AAP kitna mistake kyu karte hai😢

    • @thetechbrotherss
      @thetechbrotherss  5 місяців тому

      I agree, This was my first video i wont recommend you watching this
      Watch my latest playlist