How can I implement dynamic routing in Flutter to render pages based on a slug, where all content comes from a CMS? I am using BLoC for state management and need to first call an API to fetch the relevant data, then render the page dynamically, depending on whether the content is a movie, series, or any other type, similar to how Netflix handles its functionality. For routing i am using go router .Can you exaplain this sir ?
sir but when you click on increment button, builder widget build two times, so if we call API then it fetch data two times, which is time consuming how to solve this? help plz
Sir I am getting this error while running App Error on line 42, column 3 of pubspec.yaml: A package may not list itself as a dependency. ╷ 42 │ bloc: ^8.1.2 │ ^^^^ ╵ flutter_bloc: ^8.1.3 equatable: ^2.0.5 bloc: ^8.1.2 i add same dependance as you added.
AOA sir i have latest version of flutter and dart and also android studio but i faced an issue i use these packages in my pubs.yml -> bloc: ^8.1.4 equatable: ^2.0.5 but now i want to install the flutter bloc it cant be installed and give me the error -> PS D:\My Projects\flutter_bloc> flutter pub add flutter_bloc Because flutter_bloc depends on flutter_bloc, version solving failed. PS D:\My Projects\flutter_bloc> flutter pub add flutter_bloc Because flutter_bloc depends on flutter_bloc, version solving failed. PS D:\My Projects\flutter_bloc> please tell me what can i do
The issue arises because your project name, "flutter_bloc," conflicts with an existing package of the same name. To fix this, you'll need to rename your project to something unique that doesn't clash with the package.
there is no explanation of core concepts by saying ya aisy hota ha.. ya iska syntax ha.. bar bar chatgpt sa dkhna prta agr sai concept lna ho to CounterBloc() : super(CounterState()){}
i have explain each and everything i have mention this thing in my first video why you need understanding of basic opp concepts. so respectfully dis agree with you.
badhiya banda hai bhai tu .. maja aat ahain padhne me .. genuine , real . Love from delhi
Thank you sir ❤️
This is what we called : "Teaching stuff"
Stay Blessed 😇
Thanks with your friends
@@thetechbrotherss sure why not
Learned alot from this thankyou so much sir
So nice of you
Thanks for your easy explanation excited to complete the course!!!
Good luck
damn bro at my job i was so confused how to use bloc you saved me bro..
glad to hear this practice on 2,3 more videos for better understanding
Thank you so much , , just Awesome Tutorial
You are welcome!
Thanks Broo. You explained it very well.
Thanks
great lecture
Glad you think so!
Great, Explanation !
Thanks
Please make a Turtorial on " how to write CLEAN and MODULAR code while making flutter projects"
I will once i am done with basic and practice video
is video se he samaj gaya sir sabkuch thank you 🤘🤘🤘
do share
great explanation.
Glad you like it
You are great at explaining bhai
thank you do share with your friends
well explained brother👌
Thanks
How can I implement dynamic routing in Flutter to render pages based on a slug, where all content comes from a CMS? I am using BLoC for state management and need to first call an API to fetch the relevant data, then render the page dynamically, depending on whether the content is a movie, series, or any other type, similar to how Netflix handles its functionality. For routing i am using go router .Can you exaplain this sir ?
You know everything, you need to build your own logic, least i can say
Beautiful 💫 Thanks again for this great course.
You are so welcome!
Thank you so much sir ☺️🙏
Most welcome
Thank You Sir...🙏
share with your friends
Thank you very much
You are welcome, do share with your friends
Very nice video but very difficult concept.
i must say follow next video for practice, you will understand it
List get props => [counter];
what is the main purpose of comparing variables,
It is used to hold the value of variable and then it compares objects in backend code of package
@@thetechbrotherss thank you😍😍
please sir make a series on Bloc, TDD and Clean architecture
bloc ki playlist uploaded ha
ok
❤
thanks
sir thanx a lot..big fan of ur videos......
Thank you, do share with your friends
@@thetechbrotherss sure is..
wow wow wow
Share with your friends
when to use a single class for bloc states with a copywith constructor and when to use a multiple state class ..?
Usually bloc consists of building multiple states, i have taught this method in next video.
Provider ko chorh k block seekh ly boss?
wo bhi seekho pehle
sir but when you click on increment button, builder widget build two times, so if we call API then it fetch data two times, which is time consuming how to solve this? help plz
Use build when method to control widget building, i taught this in some videos
@@thetechbrotherss yes thanku bro🥰
Sir I am getting this error while running App
Error on line 42, column 3 of pubspec.yaml: A package may not list itself as a dependency.
╷
42 │ bloc: ^8.1.2
│ ^^^^
╵
flutter_bloc: ^8.1.3
equatable: ^2.0.5
bloc: ^8.1.2
i add same dependance as you added.
package ko back ly kr jao 1 space
explain in evry simple way but
agr e itna lmab process hia to hm ise q use kretia hia
Lamba ni ha you need to get used to it, also you have more control over data
Testing easy ho jati ha
video uploading speed increase please❣
Ok
AOA sir i have latest version of flutter and dart and also android studio but i faced an issue i use these packages in my pubs.yml ->
bloc: ^8.1.4
equatable: ^2.0.5
but now i want to install the flutter bloc it cant be installed and give me the error ->
PS D:\My Projects\flutter_bloc> flutter pub add flutter_bloc
Because flutter_bloc depends on flutter_bloc, version solving failed.
PS D:\My Projects\flutter_bloc> flutter pub add flutter_bloc
Because flutter_bloc depends on flutter_bloc, version solving failed.
PS D:\My Projects\flutter_bloc>
please tell me what can i do
use latest version of everything and make sure you are using latest version of flutter
The issue arises because your project name, "flutter_bloc," conflicts with an existing package of the same name. To fix this, you'll need to rename your project to something unique that doesn't clash with the package.
@@thetechbrotherss thanks
bloc m to hum stateless widget ka use krte hai
Wo bhi kr skty ho
I can't add flutter_bloc , plz suggest me how can i do that,
You must be doing something wrong, you can also add packages to yaml file
NO src code which country are you from
Pakistan, check my GitHub everything is available
First comment brother ❤
Good job
Bloc class ka constructor nhn ban raha jaise aap ne initialize kya hai separately with super method
Ap follow karin zaroor create hoga
decrement me minus me ja raha hai uske liye kya karna hoga
Conditions laga lo function ma ya bloc builder sy value get k check laga lo
@@thetechbrotherss bloc builder me check kaise lagaye
@@thetechbrotherss code bta sakte hai kya sir
sir mana is video sa bloc seek leya
sirf practis karta ho is kaa
NeXT videos daikh lo till favourite app
Explain ?? This Operator
this means current value
why not cubit
If you know bloc then you are done with cubit as well ✌️
@@thetechbrotherss same work me cubit me kar sakta hu ki usme sirf api or login vla kam karu
Explain copyright method plz
i explain in very detail may be you have skipped video, check timestamp
there is no explanation of core concepts by saying ya aisy hota ha.. ya iska syntax ha.. bar bar chatgpt sa dkhna prta agr sai concept lna ho to
CounterBloc() : super(CounterState()){}
i have explain each and everything i have mention this thing in my first video why you need understanding of basic opp concepts. so respectfully dis agree with you.
Nhi bhai samjh nhi aaya, kaafi complicated bna diya bro.
ok
@@thetechbrotherss ok nhi bhaiya thoda aur achhe se samjhao
bhai tum kitna confuse krke bolte ho
Ok, thanks for feedback
Halwa bana diya hai
Hehehehe 🙌