Just about every developer needs to work with REST APIs at some point in their career. Are there any other aspects of REST APIs that you would like to see covered?
@MiNombreEsGuevara3 жыл бұрын
Bro, thanks for your videos, I really love the way you teach us and I haven't seen other channels teaching the correct architecture to structure our apps! It would be great if you continue with a second part covering error handling or how to implement loadings, error and success state to keep the user aware of what is going on with the app.
@alvin31719973 жыл бұрын
Amazing! Can’t wait for the auth token and api key security guideline video 💯 1 minor thing that can be changed is that the framework list in the controller should be a getter, so the private list can’t be changed from the UI. Or make it immutable using KtList from a flutter package called Kt-dart.
@TheFlutterFactory3 жыл бұрын
Thanks for the kind words!. Writing a getter for that field wouldn't prevent the original field from being directly accessible. I get where you are coming from, but that is not good practice in Dart. You won't see that pattern in the official GetX documentation for that reason. Remember that the concepts of private variables aren't really a thing (only at a library level). Check out the docs here for more info: tinyurl.com/y6k89k7u
@AdriSinaga3 жыл бұрын
Agreed, there is no suggestion about getter on Getx
@danielm39773 жыл бұрын
Just love how to teach everything, thank you mate. Your tutorials are as dope as the Net Ninja " channel . Thank you .
@TheFlutterFactory3 жыл бұрын
Thanks. I'm always trying to think of ways to improve the quality of the content.
@meeDipesh3 жыл бұрын
Amazing mate. Keep up the good work. ❤❤
@TheFlutterFactory3 жыл бұрын
Will do!
@thechrisgate3 жыл бұрын
Nice work...........it will be nice to upload the final code because some of us watch till end then look at the final code..............cheers!
@AdriSinaga3 жыл бұрын
Your video is amazing anyway. Keep it up 💥👍🏻
@agung_laksana3 жыл бұрын
Hi, Thanks for the video, it really helpful. may I ask you something ? at 33:05 why when creating data to server (add framework) we need to also make it through repository? I mean....I can understand if fetching all data we need to use it through repository because if for example there is no internet connection, then just show data from local storage. but why update and create data also through repository, why not directly to api client from controller ?
@ebenezerferguson37563 жыл бұрын
Great video. Can you show how to handle errors from the APIs?...your code assumes the response from the API could always be mapped to the class. But how do you handle different scenarios or errors
@TheFlutterFactory3 жыл бұрын
I might do a part 2 for that topic specifically. I try to limit the length of these videos. This one was already longer than I anticipated.
@ebenezerferguson37563 жыл бұрын
@@TheFlutterFactory Sounds good. Thanks. Will be expecting that part 2
@dedutdede99282 жыл бұрын
OH NICE
@mohsinikram89213 жыл бұрын
Great explanation. Can you push full source code on your repository. Because I have checked, there is no latest code. Waiting... :)
@TheFlutterFactory3 жыл бұрын
I stopped putting the entire source code out there once I realized that a lot of people were just taking the final code without actually looking at the videos and learning. My goal is to help people learn how to code in these two frameworks...not help people learn how to copy and paste 🙂 I put a lot of time and effort into these videos and i can see how many people actually watch them vs just clicking on the link to get the code.
@shogi233 жыл бұрын
Hi you are amazing, your videos give me a huge development, can you make a video about backendless setup. I don't know what I'm doing wrong
@TheFlutterFactory3 жыл бұрын
I would, but it's not really specific to mobile development and the backendless docs are very good. What are you having issues with?
@shogi233 жыл бұрын
@@TheFlutterFactory There is no movie in the whole KZbin that would show the implementation of a flutter database other than firebase, I think it would be a very nice viewership, and I don't even know if I have a good url :)
3 жыл бұрын
@@shogi23 +1, almost every kind of tutorials are based on firebase, and I know that Flutter base supporter is Google, and ofc Firebase is also optimized for Flutter projects, but still would great to see a general approach, or like this, backendless
@TheFlutterFactory3 жыл бұрын
Most people starting out don't want to pay for Backendless. It's only free for the first month. This is the main reason why Firebase is the most popular backend for startups
@axelbryancasauran51593 жыл бұрын
how do you debug flutter API request to your localhost server like PHP (xdebug)?
@TheFlutterFactory3 жыл бұрын
On the front end side, I use the Logger + Intercepters like I did in the video to see every piece of data during the request and response. Sometimes I use Postman to test API endpoints before I even start coding. Debugging APIs on the server side is beyond the scope of this channel.
@prembudhu263 жыл бұрын
how do you secure the api key
@TheFlutterFactory3 жыл бұрын
There are a ton of different ways with varying levels of security and difficulty. You can store them using the flutter_secure_storage package, certificate pinning, local environment variables, etc. You should research your options and choose the one that fits best on the level of security that you require.
@varunlohade3833 жыл бұрын
G-O-l-d
@MdSalahUddin-tz9pk3 жыл бұрын
source code?
@softwaregarden34263 жыл бұрын
FlatButton is deprectiated now, so I refactor your CheetahButton class. import 'package:flutter/material.dart'; class CheetahButton extends StatelessWidget { final VoidCallback onPressed; final String text; CheetahButton({required this.onPressed, required this.text}); @override Widget build(BuildContext context) { return ElevatedButton( style: ElevatedButton.styleFrom( primary: Colors.red, // background onPrimary: Colors.white, // foreground ), onPressed: onPressed, child: Text(text), ); } }
@TheFlutterFactory3 жыл бұрын
Good. I'll be starting a brand new app for the channel with the latest versions of Dart and Flutter