Complete SQLite CRUD Operations in Flutter

Complete SQLite CRUD Operations in Flutter

CodAffection

4 года назад

47,606 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@puranjanpathak6898
@puranjanpathak6898 - 24.05.2023 13:30

Thanks for your good tutorial. Please create a tutorial on exporting SQLite data to Excel, it will be really helpful as there are none with good quality.

Ответить
@sb-gp4wh
@sb-gp4wh - 10.11.2022 15:08

Thanks for the video. I am getting following error at 19.30 " Null check operator used on a null value". How do we get around that. Had to add "!"before "form" in if condition.
var form = _formKey.currentState;
if (form!.validate()) {
form.save();
print(_contact.name);
}

Ответить
@wonabe9799
@wonabe9799 - 06.07.2022 13:25

At 31.57 I am not able to make named constructor plz help anybody

Ответить
@BETALABS_by_Pankaj_Kapoor
@BETALABS_by_Pankaj_Kapoor - 24.06.2022 10:42

Dear Kindly share the main.dart code

Ответить
@manilkumar73
@manilkumar73 - 20.06.2022 05:02

thanks for your nice explanation... with also your help on Angular, I am now able to create applications with easy...

Ответить
@norm6179
@norm6179 - 30.03.2022 11:36

I like how you are very systematic and logical.

Keep up the good work!

Ответить
@ismailhossain8153
@ismailhossain8153 - 13.03.2022 05:40

an offtopic ques:
which laptop should I buy for developing job?
Currently using a windows desktop; it's running quite well, but I want to switch to a laptop.

Ответить
@camalmitchy3404
@camalmitchy3404 - 03.03.2022 00:02

This is the best SQlite tutorial, big up man

Ответить
@amitkumarpandey963
@amitkumarpandey963 - 06.02.2022 16:33

Please create one page crud operation with php mysql in flutter......like this..,

Ответить
@AmleshKumar-zr4ht
@AmleshKumar-zr4ht - 05.02.2022 12:51

Code ka link

Ответить
@muhammedkamal6157
@muhammedkamal6157 - 01.02.2022 21:24

how come you have only 505 likes, when you are so so dam amazing, i like the way you explain, you make everything easy. i wish i have more than 1 like to give you

Ответить
@suyogmainali4360
@suyogmainali4360 - 25.12.2021 19:51

Soo glad I found this , would be better if it was on git repo

Ответить
@ajaysahu9240
@ajaysahu9240 - 16.10.2021 15:34

return await products.length ==0
? []
: products.map((e) => Product.fromMap(e)).toList();
I am getting error in this line as
error: The argument type 'Map<dynamic, dynamic>' can't be assigned to the parameter type 'Map<String, dynamic>'. (argument_type_not_assignable at [ajay_kirana] lib\database_helper\database_helper.dart:51)
plesase give me sugestion

Ответить
@azeemakram9763
@azeemakram9763 - 03.07.2021 17:49

Love it..Best Tutorial

Ответить
@codewithabir3089
@codewithabir3089 - 03.06.2021 07:14

Can you please update this with null safety? It's very important

Ответить
@silentkiller4091
@silentkiller4091 - 18.05.2021 07:25

It would be great if you can share a GitHub link for this. There is a difference in the code here and the article!!

Ответить
@syedhuzaifaali4852
@syedhuzaifaali4852 - 01.05.2021 21:00

my Model class is not working?
the constructor with a named parameter is showing me error and asking me to have a required keyword in front

Ответить
@radobarta
@radobarta - 27.04.2021 12:18

Sorry im new, but fetchContacs returned error Unhandled Exception: type 'String' is not a subtype of type 'int', therefor app doesnot show me list of contacts.

Ответить
@kunaal139
@kunaal139 - 01.04.2021 14:41

What if we want to use UUID as primary key and not autoIncrement

Ответить
@nithin3326
@nithin3326 - 25.03.2021 20:17

Great tutorial 👌
Which theme you are using bro.

Ответить
@maullanasmkndua8008
@maullanasmkndua8008 - 18.03.2021 12:31

thanks.... successfully (y)

Ответить
@pravinromano8774
@pravinromano8774 - 12.03.2021 07:39

thank you sir for all videos sir, please one request do a video for sqlite and ionic framework sir
please do angular,mysql,node js express

Ответить
@victorcuyo9667
@victorcuyo9667 - 01.03.2021 20:40

Excelent, good, thank you

Ответить
@ramendrasoni3368
@ramendrasoni3368 - 01.03.2021 07:50

Submit ke bad card nahi ban raha hai...

Ответить
@warperone
@warperone - 31.01.2021 02:59

great video - would be good if you had code in github repo .... may be there but I couldnt find it

Ответить
@coupedumondedufoot.worldcu8062
@coupedumondedufoot.worldcu8062 - 03.01.2021 22:01

Thanks, a very interesting tutorial video.

Ответить
@amilanuwan9574
@amilanuwan9574 - 20.12.2020 07:49

Thank you

Ответить
@mvtecnovlog3731
@mvtecnovlog3731 - 19.12.2020 01:27

Hi there. Could you tell me what is the best way to provide a db with questions for a quiz app? now i'm using a json file, but i want to develop an app to registrar the questions instead of type one by one in a text editor.

Ответить
@RashidAlii
@RashidAlii - 17.12.2020 19:07

I am getting error
NoSuchMethidError: The method 'touppercase' was called on null.
Reciver: null
Tired calling:touppercase().
Kindly tell me how to solve this error sir?

Ответить
@shahzan12345
@shahzan12345 - 17.11.2020 16:14

Thank you so much for the wonderful videos. I have a quick question when you defined the _onCreateDB method you defined 2 parameters, whereas while invoking that method you didn't specify any arguments to it. Could you please explain what's the logic behind this? Thanks again!

Ответить
@harry---dp8xk
@harry---dp8xk - 16.11.2020 17:57

The best tutorial video i've ever see, the way you explain it step by step is so clear. You know very well what you do, thank you so much. Already subscribed to your channel and liked your video.

Ответить
@sabayaku
@sabayaku - 15.11.2020 01:11

please help error
The following assertion was thrown building:
A non-null String must be provided to a Text widget.
'package:flutter/src/widgets/text.dart':
Failed assertion: line 360 pos 10: 'data != null'
When the exception was thrown, this was the stack:

Ответить
@abirngicon9619
@abirngicon9619 - 11.11.2020 07:45

what is the name of the font used in the editor ?

Ответить
@nikhiljadhav6909
@nikhiljadhav6909 - 08.11.2020 19:15

Getting error : RangeError (index): Invalid value: Valid value range is empty: 0
Any Suggestion to resolve this error ?

Ответить
@harrymax2348
@harrymax2348 - 06.11.2020 10:14

sir I have followed your tutorial step by step but still I can't get rid of exception handling
[VERBOSE-2:ui_dart_state.cc(177)] Unhandled Exception: Stack Overflow
#0 _CustomZone.registerCallback (dart:async/zone.dart:1110:3)
#1 _CustomZone.bindCallbackGuarded (dart:async/zone.dart:1036:22)
#2 _rootScheduleMicrotask (dart:async/zone.dart:1252:16)
#3 _CustomZone.scheduleMicrotask (dart:async/zone.dart:1147:19)
#4 Future._asyncCompleteError (dart:async/future_impl.dart:592:11)
#5 _AsyncAwaitCompleter.completeError (dart:async-patch/async_patch.dart:49:15)
#6 DatabaseHelper.database (package:sqlite_crud1/utils/database_helper.dart)
#7 DatabaseHelper.database (package:sqlite_crud1/utils/database_helper.dart:21:9)
#8 DatabaseHelper.database (package:sqlite_crud1/utils/database_helper.dart:21:9)
#9 DatabaseHelper.database (package:sqlite_crud1/utils/database_helper.dart:21:9)
#10 DatabaseHelper.database (package:sqlite_crud1/utils/database_helper.dart:21:9)
#11 DatabaseHelper.database (package:sqlite_crud1/utils/database_helper.dart:21:9)
#1<…>
[VERBOSE-2:ui_dart_state.cc(177)] Unhandled Exception: NoSuchMethodError: The method 'query' was called on null.
Receiver: null
Tried calling: query("contacts")
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1 DatabaseHelper.fetchContacts (package:sqlite_crud1/utils/database_helper.dart:59:32)
<asynchronous suspension>
#2 _MyHomePageState._refreshContactList (package:sqlite_crud1/main.dart:122:37)
#3 _MyHomePageState.initState (package:sqlite_crud1/main.dart:57:5)
#4 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4792:57)
#5 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4629:5)
#6 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3595:14)
#7 Element.updateChild (package:flutter/src/widgets/framework.dart:3360:18)
#8 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6144:14)
#9 Element.inflateWidget (package:flutter/src/widgets/framework.dart:<…>

Ответить
@leniquedomeaca
@leniquedomeaca - 25.10.2020 19:57

Thanks for this amazing video ! What is the name of the font familily your are using in VScode (in this video) ? i really like it :-)

Ответить
@pratibhapawar413
@pratibhapawar413 - 08.10.2020 18:19

@codAffection could u please provide source code files for above?

Ответить
@karthickrajalearn
@karthickrajalearn - 05.10.2020 19:15

Please Give Intro
If you watch this please watch previous video

Ответить
@tripOfcoffee
@tripOfcoffee - 28.09.2020 09:50

Can you pls make a tutorial on sqlite database for flutter using two or more tables

Ответить
@ledrock732
@ledrock732 - 12.08.2020 13:07

Very nice tutorial...I am a total newbee...I keep getting errors. I have checked your article where you share some part of the code, but not all. Could please share the complete source code?

Ответить
@zulkarnainansari2520
@zulkarnainansari2520 - 16.06.2020 13:29

very informative video Sir can you show us CRUD operation on MSSQL using flutter app.

Ответить
@grodarh
@grodarh - 02.06.2020 12:40

You can do all of this in 5 minutes in Delphi Rio. And crossplatform (Windows, Android, iOS, macOS, Linux) /

Ответить
@lorenbeall147
@lorenbeall147 - 01.06.2020 15:59

goos video, thanks for the share of you knowledge.

Ответить