I was looking for a getx state management tutorial for rest API calling for one of my projects. I found this one right away and I am starting it now. I hope it will be helpful for me. I will update you about my experience.
Excellent video. One thing I'm having an issue with is trying to refresh the articles page. Ive tried using an onPressed event on an Elevated button and I've also tried using a RefreshIndicator. For whatever reason the content just wont update on the UI. How do we refresh the content? Can yo give us an example?
I am getting this, "The argument type 'Null Function(DioError)' can't be assigned to the parameter type 'void Function(DioError, ErrorInterceptorHandler)'." error while adding interceptors. What is this?
hello, when i run [flutter pub run build_runner build] in terminal, i get succeeded 14 actions (instead of 15, as in your case) and [part 'article.g.dart';] is still an error. What should i do?
@@EasyApproach [INFO] Generating build script... [INFO] Generating build script completed, took 561ms [INFO] Initializing inputs [INFO] Reading cached asset graph... [INFO] Reading cached asset graph completed, took 78ms [INFO] Checking for updates since last build... [INFO] Checking for updates since last build completed, took 607ms [INFO] Running build... [INFO] Running build completed, took 20ms [INFO] Caching finalized dependency graph... [INFO] Caching finalized dependency graph completed, took 91ms [INFO] Succeeded after 136ms with 0 outputs (0 actions) Is that logs? If yes, then, unfortunately, I don't have the very first logs, these are the logs that shown to me after second++ [flutter pub run build_runner build]
I'm getting this error while fetching the data, exactly on onResponse in http_service_impl.dart. Unhandled Exception: type 'Response' is not a subtype of type 'Map' At first in console it says nothing but then I discarded the initializeInterceptors and tried with getRequest method this error showed up. Any help please?
i'm trying to build detail_screen. but i'm not sure how to pass article object from listView to detail_screen using get. It will helpful to have some logics.
Provider is not purely a state management, however, it is dependency injection. GetX is a complete solution for an app it gives you state management route management and dependency management.
@@EasyApproach No need to say for sub,your content is that level anyone watch atleast one vide and if she/he wants to learn flutter they definitely subscribe your channel..
To those who are watching this on 2022, dio latest version might not work for you try changing initializeInterceptor() method like this initializeInterceptors() { _dio.interceptors.add(InterceptorsWrapper( onError: (error, handler) { print(error.message); return handler.next(error); }, onRequest: (request, handler) { print("${request.method} | ${request.path}"); return handler.next(request); }, onResponse: (response, handler) { print( "${response.statusCode} ${response.statusMessage} ${response.data}"); return handler.next(response); })); }
Thats a really good video brother... Love & Support from Bangladesh
Great tutorial bro for understanding getx. 👍 People want this series.
Thank you. Please subscribe the channel.
@@EasyApproach already completed with bell :)
:)
I was looking for a getx state management tutorial for rest API calling for one of my projects. I found this one right away and I am starting it now. I hope it will be helpful for me. I will update you about my experience.
Update #1, Position 5:30 - He is suggesting his previous series on getx basic. I will go watch that first.
i guess you are the only developer who involves oops concepts in the tutorials
Oh my God u accept my request thanks a lot 😍
:)
Can you please use get_cli and use one of those architectures?
I would love a tutorial on Graphql and Flutter in this format, learned a lot! Thank you. :)
Sure :) subscibe the channel
@@EasyApproach Already am! 😁
Me too need some graphql tutorial
Why did you not use json to dart converter for creating models ?
Great explanation bro
Brother you are Awesome
Thanks bro, please make tutorials on other flutter concepts. I love your videos man.
Excellent video. One thing I'm having an issue with is trying to refresh the articles page. Ive tried using an onPressed event on an Elevated button and I've also tried using a RefreshIndicator. For whatever reason the content just wont update on the UI. How do we refresh the content? Can yo give us an example?
I am getting this, "The argument type 'Null Function(DioError)' can't be assigned to the parameter type 'void Function(DioError, ErrorInterceptorHandler)'." error while adding interceptors. What is this?
Hey Russaz, if you haven't already found the solution. Try this:
onError: (err, errorInterceptorHandler) => print(err.message),
onRequest: (req, reqInterceptorHandler) =>
print('${req.method}| ${req.path}'),
onResponse: (res, resInterceptorHandler) =>
print('${res.statusCode} | ${res.statusMessage} | ${res.data}')));
Awesome video!
Thank you. Please subscribe the channel.
@@EasyApproach done already
Great video!!
hello, when i run [flutter pub run build_runner build] in terminal, i get succeeded 14 actions (instead of 15, as in your case) and [part 'article.g.dart';] is still an error. What should i do?
Can you paste your logs
@@EasyApproach [INFO] Generating build script...
[INFO] Generating build script completed, took 561ms
[INFO] Initializing inputs
[INFO] Reading cached asset graph...
[INFO] Reading cached asset graph completed, took 78ms
[INFO] Checking for updates since last build...
[INFO] Checking for updates since last build completed, took 607ms
[INFO] Running build...
[INFO] Running build completed, took 20ms
[INFO] Caching finalized dependency graph...
[INFO] Caching finalized dependency graph completed, took 91ms
[INFO] Succeeded after 136ms with 0 outputs (0 actions)
Is that logs? If yes, then, unfortunately, I don't have the very first logs, these are the logs that shown to me after second++ [flutter pub run build_runner build]
We can do online session (call). My email easyaproach555@gmail.com.
Great Tuto ;) , thank you and good luck!
Thank you too!
I'm getting this error while fetching the data, exactly on onResponse in http_service_impl.dart.
Unhandled Exception: type 'Response' is not a subtype of type 'Map'
At first in console it says nothing but then I discarded the initializeInterceptors and tried with getRequest method this error showed up.
Any help please?
Please provide a serie about getx. You are great.
i'm trying to build detail_screen. but i'm not sure how to pass article object from listView to detail_screen using get. It will helpful to have some logics.
bro...which is better state management to learn provider or GetX ? which state management should we prefer?
Provider is not purely a state management, however, it is dependency injection.
GetX is a complete solution for an app it gives you state management route management and dependency management.
@@EasyApproach Bro...generely in GetX we use MVC patern(models,views,controlers). So what we should put inside the model folder...?
Model classes for the json data.
Very good :) Thankyou
Hello friend, I have an app that needs some improvements, do you do freelancing?
easyaproach555@gmail.com email me
Please update your code using null safety, whenever I going to follow your tutorial can't make some null safety issues
🔥🔥🔥🔥🔥
Please subscribe the channel
hi bro curently i got a job as flutter developer they give me a task as this video but i can not develop it will not showing any data
You can tell the specific problem you are having so that I can help!
good video on GetX
Glad you think so!
thanks bro.it was great tutorial
Thank you. Please subscribe the channel.
When null safety comes into play, how can I initialize the HttpService _httpService?
You can use late keyword
Why abstract classes then impelemantion?
To follow good practices. Read SOLID principles.
@@EasyApproach we need more videos about solid
Great video .. how about adding testing implementation in this project for the next video.. it'd be great
I am gonna create video on testing soon
@@EasyApproach that's amazing looking forward to that video 👌
Awsome thank you 👍🏻☺️
No problem 😊
getx or bloc? which is better?
ofcourse bloc
Good one bro
Thank you. Please subscribe the channel.
Sir please make a playlist for getX videos
Sure thanks for the idea.
Thank you. Please subscribe the channel.
Awesome work❤
Thanks.
Can you make a POST request with the same example
It's always showing loading indicater it not show the value for me
Bro can you please add in post method too ?
Sure why not. Thank, subscribe the channel if you like
@@EasyApproach No need to say for sub,your content is that level anyone watch atleast one vide and if she/he wants to learn flutter they definitely subscribe your channel..
@@ashvinpatel87 love you bro
Amazing!
Thanks!
I was hoping to create a small project with GetX FLUTTER with API Laravel
Awsome
Can you do a video for admin panels with flutter mobile application. How we can harvest pc admin panel and mobile database (sql, firebase etc)?
nice!
Thank you. Please subscribe the channel.
thanks a lot
thanks sir
Thank you. Please subscribe the channel.
Not working for me
need a gRPC support
Make detailed Explanation of Each and Every Step,
Nothing would Happen if you do code and voice over .
sir make a new video on bloc library since it gets updated
Sure
Thank you. Please subscribe the channel.
Teach complete app ......with getx and api
Thank you
Please subscribe the channel
To those who are watching this on 2022, dio latest version might not work for you
try changing initializeInterceptor() method like this
initializeInterceptors() {
_dio.interceptors.add(InterceptorsWrapper(
onError: (error, handler) {
print(error.message);
return handler.next(error);
}, onRequest: (request, handler) {
print("${request.method} | ${request.path}");
return handler.next(request);
}, onResponse: (response, handler) {
print(
"${response.statusCode} ${response.statusMessage} ${response.data}");
return handler.next(response);
}));
}