Pokedex App using BLoC with Flutter | Part 1 | Day 16 -
HTML-код
- Опубликовано: 9 окт 2024
- Kilo Loco shows you how to build out a pokedex app that shows pokemon in a GridView using the BLoC pattern. This tutorial will cover making a networking request, implementing a bloc, and manipulating the api to show remote images.
** Show Notes and Links **
Project Files:
github.com/Kil...
Kilo Loco on Social Media:
www.kiloloco.com
Discord - / discord
Twitter - / kilo_loco
Instagram - / kilo_loco
#flutter #dartlang #30DaysOfFlutter
The state is something other than Failed/Loaded/Error and we are returning that empty container!
I love that you take the time to explain what certain nuances like what '=>' means and why we pass certain values around in the code. The explanation of those little details make this one of the best tutorials on the web for learning flutter.
Keep up the good work!
I just love your flutter 30 days tutorial and waiting for some more videos on flutter on some advance project and please start another 30 days of flutter with advance and complex complete app everyday.
Amazing tutorial! Subbed! I'm going to try to apply it to my node api and figure out how to do post and put http requests. Looking forward for all new videos!
You are great instructor , best wishes to You from Egypt
Can't stop laughing Kilo Loco. You have a great style. Great tutorial by the way.
The tutorial is awesome👌👌
aye great video! Really helped me out, tysm. Obv subbed and liked
Hi Kilo thanks for your tutorial! But we are gettign errors! "Bad state: add(PokemonPageRequest) was called without a registered event handler. Make sure to register a handler via on((event, emit) {...})" could you tell us the solution of this problem? thank you
Did you get the answer of this problem
Good video , couldn't you just do json to dart in the modeling section ?
Hi Kilo Loco, I'm following your tutorial and trying combine with infinite scroll pagination, did you try and have any suggestion?
PokeAPI implemented cloudfare in a way that's blocking my API requests. I've attempted adding a user agent string, and other methods around it, but nothing seems to work. I guess I'll never get to finish these 2 days of code :(
Great video! Using Pokemon at the start of every class name when we're not goign to be having other classes is really hurting my fingers! I have to type more characters to get the class I need each time! to avoid this I'm using different classnames, and retaining the pokemon on the abstract classes only
Hey Kilo, i'm stucked in ERROR: type 'int' is not a subtype of type 'Iterable' :(
I fixed by changing in pokemon_repository.dart
final queryParameters = {
'limit': 200,
'offset': (pageIndex * 200).toString()
};
To
final queryParameters = {
'limit': "200", // This is string not Int
'offset': (pageIndex * 200).toString()
};
Many thanks my hero! Does Equatable make Bloc more sexy?
Why do we need the factroy? Im confused on what it is and what it does 😶
We have not called the loading event is the answer ^^
how to use loading function after 20/30 child