Part-14 - Flutter Upload File/Image To Rest API/Server Using Multiport Http Request with Null Safety

  Рет қаралды 58,494

The Tech Brothers

The Tech Brothers

Күн бұрын

Пікірлер: 225
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Api: fakestoreapi.com Permission for IOS: camera permission NSCameraUsageDescription hello app camera description. gallery NSPhotoLibraryUsageDescription hello app photos description. Permission for android:
@uxruslan
@uxruslan 2 жыл бұрын
Multipart: Multipart requests combine one or more sets of data into a single body, separated by boundaries. You typically use these requests for file uploads and for transferring data of several types in a single request (for example, a file along with a JSON object).
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Yes
@abdullah-jg4lq
@abdullah-jg4lq 4 ай бұрын
thank you paa jeee 😍Allah apko lambi sahat wali nakion wali zindagi ata pharmaya ameen
@thetechbrotherss
@thetechbrotherss 4 ай бұрын
do share
@viv3khack3r
@viv3khack3r Ай бұрын
😂
@vivekjunghamal5730
@vivekjunghamal5730 2 жыл бұрын
Have been following your tutorial and it has been a great journey but now I am struggling in this one. I am not quite getting the flow. I am confused on terms like "ByteStream", "multipart" section. Can I get some reference or help in this . Cheers!
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
You can check the article on medium though i have tried my best to explain.
@vivekjunghamal5730
@vivekjunghamal5730 2 жыл бұрын
@@thetechbrotherss no doubt in your explanation... i just wanted to get deeper! thanks for the lead
@hassamtariq3931
@hassamtariq3931 Жыл бұрын
* What went wrong: A problem occurred evaluating root project 'android'. > A problem occurred configuring project ':app'. > Could not open proj generic class cache for build fil Can you tell me the solution of this error I followed the same process that you explained.
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Not sure about this error
@someshsahu4638
@someshsahu4638 Жыл бұрын
very nice explanation thank you so much🙏🏼🙏🏼🙏🏼
@thetechbrotherss
@thetechbrotherss Жыл бұрын
share with your friends
@N.LAGENT
@N.LAGENT 8 ай бұрын
I appreciate your work thanks and Best of Luck
@N.LAGENT
@N.LAGENT 8 ай бұрын
I appreciate your work thanks and Best Of Luck
@thetechbrotherss
@thetechbrotherss 8 ай бұрын
Thank you too
@arslanasghar750
@arslanasghar750 2 жыл бұрын
Sir kia ap refresh token in flutter pa video bnayee ga ? I really need it
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
I will try to to make videos as soon as possible.
@uxruslan
@uxruslan 2 жыл бұрын
Sir i got a question::::::::::) Why didn't you use var request = http.post( Uri.parse(''), body{ params: image: });
@uxruslan
@uxruslan 2 жыл бұрын
is it becuz of the files to be uploaded???
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Its maliparts
@ShadabKhan-ib7me
@ShadabKhan-ib7me Жыл бұрын
wonderfull playlist but intro music is disturbing while using headphones
@thetechbrotherss
@thetechbrotherss Жыл бұрын
I removed intro video in my videos, sorry for inconvenience
@azammughal4906
@azammughal4906 11 ай бұрын
sir, can you add a small video of explaining the whole code and cotext of each step with other others.
@thetechbrotherss
@thetechbrotherss 11 ай бұрын
ok
@azammughal4906
@azammughal4906 11 ай бұрын
@@thetechbrotherss o thanks, upload function does work in this code??????
@taimoormanzoor7386
@taimoormanzoor7386 2 жыл бұрын
Sir In my program the "File?" data type is not supported. So how can I resolve this problem?
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Import io and async
@islamicpostbygul
@islamicpostbygul Жыл бұрын
Brother to be honest Boht confusing hai this video and everything not explained well but overall tutorial was amazing
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Agree
@ranaasad6268
@ranaasad6268 2 жыл бұрын
Sir, if we want to upload image to localhost server then we will give uri of localhost? And how to get response from in our application? I'm working with image detection I have created Api and it is working fine on localhost and how can I get predicted result into my app? Please explain
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Upload your api to server, your server will done the processing and then returned you the json response and then you can take action accordingly.
@ranaasad6268
@ranaasad6268 2 жыл бұрын
@@thetechbrotherss server mean localhost? How I will be able to upload it on localhost? My Api is currently directly working from localhost and also on postman and also giving me response but I'm confused how I can use it in my app
@hamsken4665
@hamsken4665 8 ай бұрын
Brother why is the image uploaded not showing when I get the URL in postman? and you also didn't showed it in your postman. by the way love your videos♥
@thetechbrotherss
@thetechbrotherss 8 ай бұрын
these are 3rd party api that's why
@S4eedKhan
@S4eedKhan 2 ай бұрын
Asalam U Alaikum Sir these videos are 2 to 3 years old. Is the concept still the same today? I am saying this because whenever I don't understand from your video, I try to watch it from somewhere else' AND there are a lot of changes in other video on the same topics if I compare it with yours' SORRY Sir
@thetechbrotherss
@thetechbrotherss 2 ай бұрын
Yes it's still valid
@RakeshKumar-dn2dh
@RakeshKumar-dn2dh Жыл бұрын
Sir apki bootcamp ki dosri videos mai concept tha lkn jab say API ka chapter shuru kia hai ratta lag raha hai.....logic nhi beth rahi mind mai kindly suggest source from where i can learn these things conceptually 🙏🙏
@thetechbrotherss
@thetechbrotherss Жыл бұрын
I taught the concept in this playlist as well…….. but apis consuming is a big topic for beginners…… i will suggest you to watch video carefully and do more and more practice. Before this chapter concepts were little easy but now we are moving one step ahead that’s why you are feeling that.
@RakeshKumar-dn2dh
@RakeshKumar-dn2dh Жыл бұрын
@@thetechbrotherss OK Sir ♥️ Thankyou
@smgraphics3012
@smgraphics3012 Жыл бұрын
kiya authorization and token wagera to add nahi krna pray ga postman mein image add krnay k liyay laptop say?
@thetechbrotherss
@thetechbrotherss Жыл бұрын
depend krta ha agr backend waly ny integrate kia ho to kr skty ha
@smgraphics3012
@smgraphics3012 Жыл бұрын
@@thetechbrotherss acha
@NazrulIslam-iz6sw
@NazrulIslam-iz6sw Жыл бұрын
I copied your code from github. it working fine but image not uploading while image is uploading from POSTMAN (same api). what could be the reason please..? and if I do print(request.fields), it shows title but not image.
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Check api documentation for latest implementation and follow this process
@BeyondControll
@BeyondControll Жыл бұрын
postman me image uplode karne me wo 200 code dikha raha hai lekin koi output nahi a raha aur image ke nich ye likha a raha hai : *This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.* how to resolve this problem
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Please check their api in postman and read documentation
@hamzazafeer
@hamzazafeer 3 ай бұрын
ye error is lye ata ha postman me agar ap image ki postman pe upload nhi ha wo just ye keh rha ha k imagge ko postman pe upload kr lain ta k agar koi or ye api use kry usko bh image show ho jye gi. is ka code se kooi relation nh
@laraib.sheikh5982
@laraib.sheikh5982 Жыл бұрын
Sir how to upload image with header . Please make video on this topic.
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Map headers={ "Authorization":"Bearer $token", "Content-type": "multipart/form-data" }; request.headers.addAll(headers);
@laraib.sheikh5982
@laraib.sheikh5982 Жыл бұрын
@@thetechbrotherss when I upload image then in console image uploaded print .but when I check postman then it is not uploaded. Kindly guide me.
@atifullah7567
@atifullah7567 2 жыл бұрын
This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings. sir jab mai image path add kartha ho tu ye suggestion deta hai image nahy upload hota postman sy
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Sir postman ma ap kuch mistake kr rahy hon gy. It's working fine.
@evergreenpakistan3934
@evergreenpakistan3934 Жыл бұрын
same problem here bro
@armangul2078
@armangul2078 Жыл бұрын
@@thetechbrotherss same problem apka problem solve hhoa
@ZubairAhmadcu--A
@ZubairAhmadcu--A Жыл бұрын
ap na ye problem solve keya agar keya hai to please help me how i can fixed this
@faisaljamal7080
@faisaljamal7080 Жыл бұрын
just change the path of image to postman files folder.
@Abhishekkumar-vm9mw
@Abhishekkumar-vm9mw 2 жыл бұрын
Sir, I am facing an exception occuring issue at http.ByteStream(image!.openRead()) during debugging. it is giving _CastError (Null check operator used on a null value) . only circularindicator is spinning. Can you help me?
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Its means you haven’t selected image bro check video again carefully
@Abhishekkumar-vm9mw
@Abhishekkumar-vm9mw 2 жыл бұрын
@@thetechbrotherss done,thanks
@SehrishMoujahid
@SehrishMoujahid Жыл бұрын
every thing is ok but when i add keys in form data in postman during uploading the image through laptop and after clicking the send button it shows only 1 id in response not showing image id plz tell
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Check the documentation for apis
@MrAwaisChand
@MrAwaisChand Жыл бұрын
sir yhn tk bilkul perfact sahi hogia lekin mein chahta hon image ko server to upload pr upload krny k baad local storage mein save krva dia jaye using shared preference ta k jb app ko kill bhi kr dia jaye to save hi rahy when we open again our appp.. can your guide me?
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Download that image and store it in local image as base 64
@pankajshellcode
@pankajshellcode 2 жыл бұрын
Good Explaination
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Thank you
@abubatool2298
@abubatool2298 Жыл бұрын
completed... but some code may be you forgot to explain, like stream, cast, multiport, .....
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Thanks for feedback
@quangnguyenuc1261
@quangnguyenuc1261 2 жыл бұрын
request.fields['title'] = "Static title" ; please explain this line for me! thank you!
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
this is used to send text to server along side with image using multiport requests. If you don't have text remove it.
@afaqmazhar5703
@afaqmazhar5703 Жыл бұрын
Sir everything is going smooth untill i reached post apis and login and upload image i dont know why but i did not understand whats going on like in login chapter we use the api and craete signup using that api email and password but why not if we gave our own email and password then it will save it and we login through it
@thetechbrotherss
@thetechbrotherss Жыл бұрын
For that you have to create your own apis, in this lecture I taught the concept
@afaqmazhar5703
@afaqmazhar5703 Жыл бұрын
@@thetechbrotherss thats the thing i wants to know sir how to create own apsi
@smart_asmr1
@smart_asmr1 Жыл бұрын
Sir when i pick image form gallery then it occurs error that unsupported operations : Platform._operatingsystem What is the issue ? Note : I am running this on Web not on emulator or simulator.
@thetechbrotherss
@thetechbrotherss Жыл бұрын
may be the plugging we are using are not supported for web
@saddamafzal8855
@saddamafzal8855 2 жыл бұрын
sir mre image upload nahi horhi and hm na 3 parameters send krna tha api ma ap na bs image hi ki hai bki sb ksa honga
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Mainy video ma apko kr ke dekhaya tha if you want to send some text parameter how then how you can send those. please watch video carefully.
@ashutoshtiwari6104
@ashutoshtiwari6104 2 жыл бұрын
@@thetechbrotherss sir if some field me number send karna hai wo kaise kare
@thazeroword646
@thazeroword646 2 жыл бұрын
Very nice tutorial
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Thank you so much. Do subscribe and share within your friends circle.
@surbhipaliwal3576
@surbhipaliwal3576 5 ай бұрын
The method 'pickImage' isn't defined for the type 'ImagePicker'. 😒😒 please help
@thetechbrotherss
@thetechbrotherss 4 ай бұрын
Oh yea, follow latest documentation 🥲
@swagatbaruah522
@swagatbaruah522 Жыл бұрын
I'm getting a response 520, when I'm exactly trying to do as done in the timestamp: 4:53 I tried to upload an image file from the my pc and in the body its showing me some html stufff. I don't really understand what's actually causing it. I tried to do the following without giving the `image` parameter and got no error.
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Check the path of file, path of url
@uzairB533
@uzairB533 Жыл бұрын
Bro, I was also facing this problem. but then I tried to upload a jpg image then it was done
@swagatbaruah522
@swagatbaruah522 Жыл бұрын
@@uzairB533 in my case I uploaded a pic of small dimensions. The first ones were big...those were desktop wallpaper pics...But later I tried to upload small dimensional size images, that worked fine :)
@smgraphics3012
@smgraphics3012 Жыл бұрын
@@swagatbaruah522 what was the size dimension plz tell
@romzanali9930
@romzanali9930 Жыл бұрын
i tried to print response.body but there's no body option. why is that?
@thetechbrotherss
@thetechbrotherss Жыл бұрын
make sure you use await keyword
@ShadabKhan-ib7me
@ShadabKhan-ib7me Жыл бұрын
sir you have forgot to explain some code like stream cast multiport form where i can clear my these concept never heard about it before can u help plz
@thetechbrotherss
@thetechbrotherss Жыл бұрын
I'll explain and will add a new video in this series
@harunbakirci1781
@harunbakirci1781 2 жыл бұрын
Thanks a lot sir this is awesome
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Glad you like it, do subscribe and share with your friends.
@harunbakirci1781
@harunbakirci1781 2 жыл бұрын
@@thetechbrotherss i will
@death_breather
@death_breather 2 жыл бұрын
how can we show dialogue box for user to give permission or deny it
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
yes why not
@death_breather
@death_breather 2 жыл бұрын
@@thetechbrotherss Actually that was a question😅
@Unknown-gz9vb
@Unknown-gz9vb 4 ай бұрын
Thanks a lot. it's awesome
@thetechbrotherss
@thetechbrotherss 4 ай бұрын
Most welcome 😊
@chiragmakwana9830
@chiragmakwana9830 Жыл бұрын
Hello sir, what if I want to send int type data along with this => request.fields['title'] = "Static title" ; like request.fields['abc'] = 3;
@thetechbrotherss
@thetechbrotherss Жыл бұрын
you can send extra data like this with your custom api
@RaghulPrasanthKarthikeyan
@RaghulPrasanthKarthikeyan Жыл бұрын
Bro, I get this error when I select the image Unhandled Exception: FileSystemException: File closed, path = '/data/user/0/com.example.flutter_application_1/cache/scaled_1000000033.jpg' Please help me
@thetechbrotherss
@thetechbrotherss Жыл бұрын
make sure to add permission in manifest
@mansigaming9830
@mansigaming9830 Жыл бұрын
sir mera pic ka response nhi mil raha he muje postmen per mene file ko sabhi folder per rakh ke dekh liya url se bhi try ker liya or save images se bhi try ker liya muje response hi nahi mil raha he ab kya ho sakta he iska??
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Yar agr postman ma api work ni kr rae it means koi issue ha api ma ya phr ap ghlt kr rahy ha kuch
@pradhumnamirotha827
@pradhumnamirotha827 Жыл бұрын
Bhai is method mein access token pass karni hai toh kaise karenge
@thetechbrotherss
@thetechbrotherss Жыл бұрын
headers add kr k k
@ashutoshtiwari6104
@ashutoshtiwari6104 2 жыл бұрын
Bhai mera 2nd parameters integer me hai so waha string paas ho rha hai so bad request aa rha hai
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
ask your backend developer to convert it into string. If he needs integer then while receiving the data after api hit then he can convert it to integer and save it as integer.
@ashutoshtiwari6104
@ashutoshtiwari6104 2 жыл бұрын
@@thetechbrotherss ok bhai thanks koi dusra options nhi hai na
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
I think nope
@takirajani2693
@takirajani2693 Жыл бұрын
sir file missing aa raha hai..file upload nahi ho rahi hai
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Please watch video carefully and check the documentation of the api
@moonjxtt3537
@moonjxtt3537 Жыл бұрын
@@thetechbrotherss sir fr bhi error arha
@abdullahsheikh6730
@abdullahsheikh6730 2 жыл бұрын
postman ma reuquest ki ha to code 520 aa rha ha or response bhi html form ma aa rha ha? Images ko jb add kia ha tb?ow can i solve that?
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
to kuch ghlt kia hoga check api , support me on isnta: instagram.com/thetechbrotherss/
@surbhipaliwal3576
@surbhipaliwal3576 5 ай бұрын
sir uploadImage funtion kis kam ka h kuch to kam kr nhi rha
@thetechbrotherss
@thetechbrotherss 4 ай бұрын
kr raha ha bhai
@hafizabdulrehman7532
@hafizabdulrehman7532 Жыл бұрын
Great video sir but this error? Error: The method 'File' isn't defined for the class '_ImagePickState'. - '_ImagePickState' is from 'package:api_practice/image_pick.dart' ('lib/image_pick.dart'). Try correcting the name to the name of an existing method, or defining a method named 'File'. File(image.path).absolute, ^^^^
@thetechbrotherss
@thetechbrotherss Жыл бұрын
impor the package for file and follow video carefully
@smgraphics3012
@smgraphics3012 Жыл бұрын
I have trouble in adding the image in form data in postman i got only id:20 in json response
@muhammadaleem5463
@muhammadaleem5463 Жыл бұрын
import 'dart:io';
@YashGautam-ik8si
@YashGautam-ik8si Жыл бұрын
@hafizabdulrehman import : 'dart : io' and remove import 'dart : html' package
@FusionFinds1
@FusionFinds1 Жыл бұрын
Bro thanks, please I want to send text with image can you guide me on this or recommend an tutorial for it please 🙏 🙏
@thetechbrotherss
@thetechbrotherss Жыл бұрын
I have taught the method in the end of this video do not skip
@smgraphics3012
@smgraphics3012 Жыл бұрын
I struggle to add keys in form data of postman of image i didnt get image id plz help
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Check i have taught how to add send data in the end of the videos
@smgraphics3012
@smgraphics3012 Жыл бұрын
@@thetechbrotherss in the end of this video or other plz tell?
@MuslimUmmat
@MuslimUmmat Жыл бұрын
Error: ADB exited with exit code 1 Performing Streamed Install adb: failed to install C:\development\Flutter-Rest-Api-Tutorials-With-Example-main\build\app\outputs\flutter-apk\app.apk: Failure [INSTALL_FAILED_USER_RESTRICTED: Invalid apk] Error launching application on M2010J19CG.
@thetechbrotherss
@thetechbrotherss Жыл бұрын
This shows your pc is slow cannot handle emulator, try physical device
@codecraftmanisha_official
@codecraftmanisha_official Жыл бұрын
Sir i got error in File(image!.path).absolute error: 2 positional argument expected but 1 found what to do please reply
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Please watch video carefully and follow along side with me.
@codecraftmanisha_official
@codecraftmanisha_official Жыл бұрын
@@thetechbrotherss watched more than 4 times but getting same error I stops at that point nothing can done if it is giving error 🥺
@alexrajanand1184
@alexrajanand1184 Жыл бұрын
@@codecraftmanisha_official import 'dart:io' instead of import 'dart:html'
@Beast69396
@Beast69396 Жыл бұрын
@@alexrajanand1184 thanks buddy
@hafizmuhammadhuzaifa1294
@hafizmuhammadhuzaifa1294 Жыл бұрын
thanks bro, it helped me a lot, I was stuck at that point.Long live!@@alexrajanand1184
@leo-arbind8770
@leo-arbind8770 2 жыл бұрын
#helpful but I have to do ,How to pick multipal image from imagepicker(gallery) and upload to the server(APIs).
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
use this same pacakge to pick multiple images and the upload it but it has a little different way
@guptaatin123
@guptaatin123 Ай бұрын
How to do the same using active camera not gallery
@thetechbrotherss
@thetechbrotherss Ай бұрын
same way ma picture image from gallery
@Dagra_xt
@Dagra_xt 3 ай бұрын
sir ya model progress hub nhi mil raha pub.dev pa, kia kru kaha sa milaga?
@thetechbrotherss
@thetechbrotherss 3 ай бұрын
to koi r use kr lo, ap apni logic use kr lo. like use boolean and if it's true show loading
@Dagra_xt
@Dagra_xt 3 ай бұрын
@@thetechbrotherss ok sir i'll try
@REDAppleseed
@REDAppleseed 2 жыл бұрын
how to get the url of the uploaded images to show in widget after upload sucess
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
ask your developer to give you uploaded url back in response only then you will be able to show it
@bobhero7
@bobhero7 Жыл бұрын
The current Dart SDK version is 2.19.3. Because api depends on modal_progress_hud_nsn >=0.4.0 which requires SDK version >=2.19.6
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Upgrade packages this is not an error in my code
@ShahidAli-gc1pn
@ShahidAli-gc1pn Жыл бұрын
Dawnload a new flutter sdk version of sdk should be it could be 3.0.0 and above this but not less then or equals to 2.19.6 .. and set that flutter sdk path in android studio your error will be resolve ... i was facing this same error some days ago i solved my error like this this and now everything is working fine
@বিষ্ময়করপ্রাণীজগৎ
@বিষ্ময়করপ্রাণীজগৎ 2 жыл бұрын
why File? gives wrong?
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
You are doing something wrong thats why
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
You can check the source code on my git account.
@3dmagic956
@3dmagic956 2 жыл бұрын
Mai multiport ka fieldname me fieldname de rha hu fir bhi api error de rha hai
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Yeah third party api ha bro is liye error day rae ha used your own api then it won't give error.
@3dmagic956
@3dmagic956 2 жыл бұрын
@@thetechbrotherss bAse name bhi pass kiye to ab shi hai
@BeyondControll
@BeyondControll Жыл бұрын
upload button me click karne par *[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Null check operator used on a null value* error a raha hai
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Make sure you are not passing null values
@HelloWorld-tx4qn
@HelloWorld-tx4qn 2 жыл бұрын
can someone provide the detail on how to upload the image along with other signup detail, like email, password, name...?
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
request.fields["type"] = 'User'; user this before multipart file and add your email and password
@fahimullah6752
@fahimullah6752 Жыл бұрын
Sir its giving me error in run terminal
@fahimullah6752
@fahimullah6752 Жыл бұрын
i just followed your video then i copy your code from gethub but it still giving error why
@thetechbrotherss
@thetechbrotherss Жыл бұрын
State the error
@fahimullah6752
@fahimullah6752 Жыл бұрын
@@thetechbrotherss D/SurfaceView@376daa9(28026): updateSurface: surface is not valid, D/InputMethodManager(28026): startInputInner - Id : 0,
@fahimullah6752
@fahimullah6752 Жыл бұрын
I/ViewRootImpl@13e7bf4[MainActivity](28026): ViewPostIme pointer 0 I/ViewRootImpl@13e7bf4[MainActivity](28026): ViewPostIme pointer 1 I/flutter (28026): Instance of 'ByteStream' I/flutter (28026): image uploaded I/ViewRootImpl@13e7bf4[MainActivity](28026): ViewPostIme pointer 0 I/ViewRootImpl@13e7bf4[MainActivity](28026): ViewPostIme pointer 1
@anonymus3385
@anonymus3385 2 жыл бұрын
bhai kuch bhi hue jaa raha he (bytestream, multipartrequest ) ye hote kya he wo to bata do ?
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
ary bhi multipar request use hoti iamges ko upload krny k liye and images ko hm bytes ki form ma send krty ha, ap start sy follow krty apko yeah question na poochn parhta, do subscribe and share with your friends. ok bro do subscribe and follow on isntagram: instagram.com/thetechbrotherss/
@anonymus3385
@anonymus3385 2 жыл бұрын
@@thetechbrotherss thankyou asif bhai for solving the dout +1 follower
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Thank you
@AbdullahKhan-ql3sn
@AbdullahKhan-ql3sn 2 жыл бұрын
jani how to uploaded multi pic with describtion
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
aise he handle krty ha but ab lsit bna lo multiport kis
@qasimjasim7056
@qasimjasim7056 2 жыл бұрын
Helpful thanks
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Glad it helped
@hamzaarshid7007
@hamzaarshid7007 Жыл бұрын
What is the function of stream.cast() here?
@smgraphics3012
@smgraphics3012 Жыл бұрын
I have trouble in adding the image in form data in postman i got only id:20 in json response plz help
@theinfluencer940
@theinfluencer940 Жыл бұрын
at 5:06 the first id "_id" is not showing at my end
@thetechbrotherss
@thetechbrotherss Жыл бұрын
go to model and check they parameter name against key
@iphone11pro-s7r
@iphone11pro-s7r Жыл бұрын
@thetechbrotherss i need a help in flutter design ?
@iphone11pro-s7r
@iphone11pro-s7r Жыл бұрын
can you plz help me out
@thetechbrotherss
@thetechbrotherss Жыл бұрын
how i can help you
@timtom6895
@timtom6895 2 жыл бұрын
Sir bht he advance video ha ya bilkul he kuch smj nai aya ap aik dem he basics sey advance per shift ho gay hn😢😢😢😢
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
hahahahha yar khair ha first time ma ni smjh atta but agr ap ny video dekh li ha r sahi tarahn run kr lia it a great success, ab ab thora sa search karin ya phr sy dekhain smjh aa jay ge
@timtom6895
@timtom6895 2 жыл бұрын
@@thetechbrotherss poory 2 din main almost 10 baat deikh Chuka hu lakin ya bht he advance level k concepts use huy hn. Ap k bghair kci oor ki b smj nai atti ya b mjbouri ha😂😂😂
@ctvtechno4992
@ctvtechno4992 2 жыл бұрын
22:46
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Yes
@khubaibirfan9215
@khubaibirfan9215 2 жыл бұрын
Sir hum Jo image upload kr rhe hain successful upload hune ke bad image url me show hunga?
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Yes agr apka developer apko respons return krta ha to zaror show hoga. is example main main 3rd party apis use kr raha hu so apko image ka url nazar ni ay ge.
@AbdulWaris-t4o
@AbdulWaris-t4o Жыл бұрын
sir mera image picker nhii add horaha
@thetechbrotherss
@thetechbrotherss Жыл бұрын
kya issue ha
@harshverma9140
@harshverma9140 2 жыл бұрын
bhia % wali loading kse show krte h
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Bro different package available ha pub.dev par search kr lo.
@maazafridi2090
@maazafridi2090 2 жыл бұрын
sorry but this video mein aap nay siraf khud coding kii haii... samjaii nai haiii...
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Agree actually sometimes aisa ho jata ha
@Malang445
@Malang445 Жыл бұрын
can you also upload files using this api? please need this fast
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Yes
@satyajeetsingh5038
@satyajeetsingh5038 2 жыл бұрын
im a beginner and mujhe kuch v samajh nii aaya ye video
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Please watch from start to this playlist
@ukashaanwar9451
@ukashaanwar9451 2 жыл бұрын
What does this method do. stream.cast();
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
search it bro
@romzanali9930
@romzanali9930 Жыл бұрын
it worked
@thetechbrotherss
@thetechbrotherss Жыл бұрын
It will work
@ctvtechno4992
@ctvtechno4992 Жыл бұрын
23:18
@thetechbrotherss
@thetechbrotherss Жыл бұрын
?
@SehrishMoujahid
@SehrishMoujahid Жыл бұрын
meray postman mein sirf 1d:20 aya ha
@thetechbrotherss
@thetechbrotherss Жыл бұрын
check latest docuementation
@abhishek4ever
@abhishek4ever 2 жыл бұрын
Plase Make Video For Multiple Image Upload
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Ping me on install i will share the code with you.
@shashwatssp
@shashwatssp Жыл бұрын
I could not understand 🙁
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Watch playlist from start
@shashwatssp
@shashwatssp Жыл бұрын
@@thetechbrotherss Okay Sir !!
@makeinpro
@makeinpro 2 жыл бұрын
can http put to upload file image?
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
There are two ways to upload image. Base64 or with path ask your developer how he is doing that and then follow process accordingly. I used multi-ports to store path.
@fixcodedesign2165
@fixcodedesign2165 2 жыл бұрын
ok ..... . . . . . . . . . .ok . . . . . . . .ok. . . . . . . . . .ok
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
hahhaha ok
@CodeWithMaya07
@CodeWithMaya07 2 жыл бұрын
Explain in english...
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
ok
@halithhamja6107
@halithhamja6107 2 жыл бұрын
how to check that image which is stored by us
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Check your database, check how your back end developer is doing that. Api i used here are open source that's you cannot see the further process.
@rishirajjangid6072
@rishirajjangid6072 8 ай бұрын
@thetechbrotherss
@thetechbrotherss 8 ай бұрын
😁
Part - 15 - Flutter COVID-19 App with Rest APIS with Null Safety || Demo
7:07
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 79 МЛН
My MEAN sister annoys me! 😡 Use this gadget #hack
00:24
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 79 МЛН
Amazing remote control#devil  #lilith #funny #shorts
00:30
Devil Lilith
Рет қаралды 14 МЛН
REST Call with Flutter - Http methods
19:55
CodeX
Рет қаралды 73 М.
Upload Images Directly to S3 from Front End
18:28
Sam Meech-Ward
Рет қаралды 127 М.
Flutter upload image to rest API | flutter coding
19:30
amplifyabhi coding
Рет қаралды 32 М.
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 79 МЛН