Flutter Go Router
13:26
5 ай бұрын
Collision Detection In Flame Game
6:43
Setup Flutter Game With Flame
15:47
Know When To Launch Your App
8:31
Next.js Footer
2:37
Жыл бұрын
Пікірлер
@DivyaBarvaliya-i1w
@DivyaBarvaliya-i1w Күн бұрын
Thanks !!! it's very helpful!!
@1ManStartup
@1ManStartup 8 сағат бұрын
Glad this is still useful!
@irfanahmed7760
@irfanahmed7760 5 күн бұрын
Here are my recommendation as alternate to control UN-expected billing - Good choice: 1. Flutter (Front End) Cross-platform: Flutter allows you to build one codebase for both Android and iOS, significantly reducing development effort and maintenance costs. High Performance: Flutter’s rendering engine ensures smooth user interfaces, which is critical for an app where a good user experience is essential. Rich Ecosystem: Flutter’s ecosystem supports various third-party packages, which can help in integrating payment gateways, push notifications, and other essential e-commerce features. 2. Serverpod (Back End) Unified Development (Dart): Since Serverpod is built in Dart, you get consistency across front-end and back-end, making it easier to maintain and scale your codebase. It’s particularly useful for developers who want to stay in the Dart ecosystem. Auto-Generated APIs: Serverpod can automatically generate APIs that can easily be consumed by Flutter, speeding up the development process and reducing errors. Real-time Communication: It supports WebSockets, which is useful for features like real-time notifications, inventory updates, live chat, etc., which are often needed in medium to large-scale apps. Scalable Architecture: Serverpod is designed to handle growing traffic and data as your app scales, meaning it can handle medium and large-scale apps just as well as small ones. Built-in Tools: It provides useful tools like database migration management, logging, and analytics out of the box, which helps in monitoring and improving your app. 3. PostgreSQL (Database) Performance and Reliability: PostgreSQL is known for its high performance and robustness. It’s widely used in production for multiple platforms that require handling a large volume of transactions, queries, and complex data. Advanced Features: PostgreSQL offers advanced data integrity, security features, and the ability to handle complex queries, which is important to app scales and becomes more complex. Scalability: PostgreSQL can scale both vertically and horizontally, meaning it can handle growing amounts of traffic, data, and users as your app moves from a small to a large-scale operation. Note:- Recommended all are free.You can host you app where you like.Hope it will solve the issue with more freedom. GOOD LUCK
@irfanahmed7760
@irfanahmed7760 4 күн бұрын
😍
@sz1093
@sz1093 5 күн бұрын
HOW ABOUT THE LATEST UPDATE AND ONLY CANVASKIT AND SKWASM ? I PREVIOUSLY USED HTML RENDERER BUT IT NOT WORKING NOW. ANY UPDATE ??
@1ManStartup
@1ManStartup 4 күн бұрын
I haven't tested but probably just fix the CORS issues like this shows and all will be fine.
@htetlynnhtun101
@htetlynnhtun101 6 күн бұрын
How would I do this with go_router?
@1ManStartup
@1ManStartup 5 күн бұрын
This will show you kzbin.info/www/bejne/mJWraZt8h695hKssi=3YrDZc5NOXggVqod&t=564
@oryaahmad2408
@oryaahmad2408 9 күн бұрын
Just the things I came for. No beat arround the bush.
@teamnovas
@teamnovas 13 күн бұрын
Use HapticFeedBack().vibrate instead if not working
@antoniofuller2331
@antoniofuller2331 17 күн бұрын
Hmmm
@1ManStartup
@1ManStartup 8 күн бұрын
🧐
@antoniofuller2331
@antoniofuller2331 21 күн бұрын
I have no choice. . .but to subscribe!!!!
@antoniofuller2331
@antoniofuller2331 21 күн бұрын
teaching by trial and error is the best
@tiagomn21
@tiagomn21 22 күн бұрын
Perfect! The Most complete video about purchase in YT. One question, I'm getting issue with purchaseList, it always returns all purchases with PurchaseStatus.restored. Do you know how to handle that? Also, there is one more issue which also returns all transactions via this, await paymentWrapper.transactions(); as we need to finish all open transactions which have been made via paymentWrapper.finishTransaction(transaction)
@lordew9476
@lordew9476 24 күн бұрын
That first solution is for me😅 THANK YOU ❤ i have no idea when my web app dont display my images
@gabrielparreira4224
@gabrielparreira4224 26 күн бұрын
When I'm using texts instead of images, how can I retrieve the text that is sorted to use it on another part of the screen?
@1ManStartup
@1ManStartup 25 күн бұрын
If you think of it as the wheel getting you an outcome then it would work the same way, just replace the icons with text. But similar to how the video doesn't use the actual icon other than for displaying to the user, the text you choose is just display text - all the logic for the outcome is handled as seen in the video
@gabrielparreira4224
@gabrielparreira4224 24 күн бұрын
@@1ManStartup I used a list of strings (called outcomes) to populate the wheel, and as the outcome I draw a random index of the list. Then I used the index drawn to retrieve the String (something like outcomes[outcome]). I needed this to do a post of the String that drawn on the wheel to an API. You video helped me a lot, thanks!
@Ash-me6wq
@Ash-me6wq Ай бұрын
I'm facing issues with subscription validation and restoration on iOS. My subscription-based app works fine on Android, but on iOS, after a subscription expires, it revalidates the purchase and marks it as successful , maybe it is because the app is on testflight. Additionally, the "Restore Purchase" button restores expired subscriptions. I've struggled to find detailed solutions for these problems and would appreciate your guidance. Please provide advice on how to address these issues on iOS.
@Chuppa-s5w
@Chuppa-s5w Ай бұрын
What is Future0r??
@1ManStartup
@1ManStartup Ай бұрын
api.flutter.dev/flutter/dart-async/FutureOr-class.html Basically it can either be Future<T> OR T
@Chuppa-s5w
@Chuppa-s5w Ай бұрын
@@1ManStartup Thanks
@samuelwakoli
@samuelwakoli Ай бұрын
Thank you man
@hirick1322
@hirick1322 Ай бұрын
OMG man thank you so much without this video I would not have been able to find the solution
@1ManStartup
@1ManStartup Ай бұрын
Glad you found it!
@hemilgandhi7861
@hemilgandhi7861 Ай бұрын
Even after deploying using html web renderer it does not work where as in debug it's working as expected. Only after deployment images are not loaded.
@1ManStartup
@1ManStartup Ай бұрын
In that case you should just update the CORS policy for your images as shown in the 2nd half of the video
@speakup8721
@speakup8721 Ай бұрын
This tutorial saved me. Super loaded. I wish i can subscribe a thousand times. God bless you sir
@1ManStartup
@1ManStartup Ай бұрын
Glad to hear that
@AshuTyagi-c1b
@AshuTyagi-c1b Ай бұрын
Proper and Full course of fullter flames.... Please provide me 😢😢...
@1ManStartup
@1ManStartup Ай бұрын
My flutter & flame course is all in this playlist kzbin.info/aero/PL_D-RntzgLvYIxI_Kuwy1f7HedxTF2GPK
@AshuTyagi-c1b
@AshuTyagi-c1b Ай бұрын
@@1ManStartup sir, please guide me... After learn this playlist I can become a good flutter game developer...
@1ManStartup
@1ManStartup Ай бұрын
​@@AshuTyagi-c1b It'll be a good start, it shows how I built lastbottle.app although a few of the finishing touches in style, localization, and the google wallet integration aren't covered in the videos. But all the code is available on my Github. Being a good game developer requires a lot more than just programming, this is an insightful book I'd recommend to learn a bit more about user psychology as it relates to mobile apps/ games www.amazon.com/Irresistible-Addictive-Technology-Business-Keeping/dp/1594206643
@AshuTyagi-c1b
@AshuTyagi-c1b Ай бұрын
@@1ManStartup thanks Sir.... 🙏🙏...
@AshuTyagi-c1b
@AshuTyagi-c1b Ай бұрын
@@1ManStartup I start playlist.. from today... 1 video daily and practice.
@ugommirikwe
@ugommirikwe Ай бұрын
I don’t think you need to create another provider like you did at 5:23 You can just call the method on the repository already accessible via the provider you created. Or am I missing something here? 🤔
@1ManStartup
@1ManStartup Ай бұрын
Depending on where in the app you call it yes that could would, but the 2nd provider is a Future provider so that the Future can be called within a build method using a Consumer
@ugommirikwe
@ugommirikwe Ай бұрын
@@1ManStartup hmm 🤔 Then what's the point adding the method inside the repository class if you can reasonably just define its functionalities inside of the second provided method? You know: DRY? 🤔
@1ManStartup
@1ManStartup Ай бұрын
@@ugommirikwe You can define it directly in the FutureProvider and for a simple case like this that would work, however using the repository provider allows you to call it both ways ( through a consumer and as a future ) this could be useful if you needed to get the device build number in some other provider you could then call ref.read(updateRepositoryProvider).deviceBuildNum() without having to rewrite the logic. Another benefit of this pattern, which doesn't really apply in this situation, is since the FutureProvider is watching the RepositoryProvider if you invalidate the RepositoryProvider it will cause the FutureProvider to recall deviceBuildNum this can be useful if you need to refresh data from a backend database especially if you had multiple future providers watching that repositoryProvider, you can easily have them all update just by invalidating the repositoryProvider.
@theperfecttwinsnsiblings9561
@theperfecttwinsnsiblings9561 Ай бұрын
so goat bakra matton eat biryani goat
@dev-t8t
@dev-t8t Ай бұрын
Hi! love your solution, but its italicized all my text if use html renderer. any suggestion why this happened?
@1ManStartup
@1ManStartup Ай бұрын
I'm not sure maybe the way you have your fonts setup is the cause check this github.com/flutter/flutter/issues/75832#issuecomment-1247712319 If you watch the 2nd half of the video it'll show you how to fix the CORS issue and you can continue using canvaskit
@dev-t8t
@dev-t8t Ай бұрын
Hi! love your solution. but in my case its italicized all my text, any suggestion on why this happened?
@hardiklakhalani6268
@hardiklakhalani6268 Ай бұрын
I was expecting resizing hitbox instead image scale up. Is it possible to have multiple hitbox? I want to detect object closing up with another padded hitbox & one trimmed hitbox for actual collision.
@1ManStartup
@1ManStartup Ай бұрын
Yes, you can have a hitbox on any/ all objects. As the series progresses several others are added with different outcomes kzbin.info/aero/PL_D-RntzgLvYIxI_Kuwy1f7HedxTF2GPK
@akbarwirayuda
@akbarwirayuda Ай бұрын
sorry im new at flutter, how do you show the wrap section? thanks
@1ManStartup
@1ManStartup Ай бұрын
This video shows my entire Flutter setup kzbin.info/www/bejne/qISsZGCwra-NjMU
@armagan_gok
@armagan_gok Ай бұрын
This guy is awesome! Loves from Turkiye
@soulhala
@soulhala Ай бұрын
which plugin
@1ManStartup
@1ManStartup Ай бұрын
flutter & dart
@SuluXuluS
@SuluXuluS Ай бұрын
These tutorials are so useful, you're saving my life This just made my week, thank you, you're my personal hero
@1ManStartup
@1ManStartup Ай бұрын
Glad I could help!
@mahmudizukri
@mahmudizukri Ай бұрын
cool bro
@AditSharda
@AditSharda Ай бұрын
Very underrated video!!
@1ManStartup
@1ManStartup Ай бұрын
I appreciate that!
@broggithomas1599
@broggithomas1599 Ай бұрын
Thanks for the video ! Can i ask about the VSC extensions and shortcuts you are using ?
@1ManStartup
@1ManStartup Ай бұрын
I talk about my setup in this video kzbin.info/www/bejne/qISsZGCwra-NjMU
@zumbarto
@zumbarto Ай бұрын
What is the tree shaped class hierarchy thing? Is it extension. I meant return MaterialApp( | | | |-----home This kind of thing?
@1ManStartup
@1ManStartup Ай бұрын
I think that's included with the flutter/dart extensions. Is it not for you?
@zumbarto
@zumbarto Ай бұрын
@@1ManStartup Nope
@alvinqid
@alvinqid 2 ай бұрын
It doesn't work on bootstraps js can you help me?
@1ManStartup
@1ManStartup 2 ай бұрын
did you watch the whole video? setting up bootstrap.js is covered at the end
@FauziJabbar
@FauziJabbar 2 ай бұрын
thanks, very easy to understand for beginners
@1ManStartup
@1ManStartup 2 ай бұрын
Glad to hear!
@nozo8488
@nozo8488 2 ай бұрын
It only works for debug but how we can do for release?
@1ManStartup
@1ManStartup 2 ай бұрын
This shows how to fix images in production/ release. What isn't working for you?
@viniciusup
@viniciusup 2 ай бұрын
You could also use some absolute containers adding the background-image prop to it. In that case, for svg's, you'd need to import your svg, and then set the prop value as 'yourSvgName.src'. Something like this: import bg from '../../assets/images/image.jpg' Then in the element: style={{ backgroundImage: `url(${bg.src})`, }}
@1ManStartup
@1ManStartup 2 ай бұрын
Thanks for sharing! Another comment said it can be done in pure css, which if I were to refactor it I'd likely go that route.
@mugerwaobadiah1621
@mugerwaobadiah1621 2 ай бұрын
Thanks, kindly do a tutorial on authentication involving use of tokens from apis without firebase.i am having challenges with persistence of a user logged in. i am following the vidoes but am creating apis using laravel
@1ManStartup
@1ManStartup 2 ай бұрын
If you're not using firebase then you need to save the logged in user yourself. Shared preferences, sqflite or Hive are all options. I personally use Hive in some of my projects I did this video related to a game but it maybe helpful kzbin.info/www/bejne/e2WxmYGZjbF-hrssi=y2r06rdOLWyWkJvX
@محمدعمران-ه2خ
@محمدعمران-ه2خ 2 ай бұрын
I finished the pay list amazing way and clean while learning thanks so much
@1ManStartup
@1ManStartup 2 ай бұрын
Awesome! glad to hear it was helpful
@Chuppa-s5w
@Chuppa-s5w Ай бұрын
@@1ManStartup I can't start the audio stream when opening a page. I read the documentation, did everything the same, but the audio does not play. I repeated your code and it worked, but it doesn't work on mine. Could you show an example of proper initialization using a simple page loading example?
@Chuppa-s5w
@Chuppa-s5w Ай бұрын
@@1ManStartup Perhaps the ConsumerState Widget is what you need?
@Chuppa-s5w
@Chuppa-s5w Ай бұрын
@@1ManStartup How do I initialize two different audios on two different pages?
@1ManStartup
@1ManStartup Ай бұрын
@@Chuppa-s5w The github link to the code is in the description but you would initialize with: FlameAudio.bgm.initialize(); FlameAudio.bgm.play('bg_game.mp3', volume: 0.2); The consumer state is because I'm using riverpod to determine if the user muted. it's not necessary you can use initState if you have a stateful widget.
@cub3608
@cub3608 2 ай бұрын
lovely
@cub3608
@cub3608 2 ай бұрын
this is cool man thanks
@BayanIbrahim-vq5nx
@BayanIbrahim-vq5nx 2 ай бұрын
you save me two hours of work, thx
@1ManStartup
@1ManStartup 2 ай бұрын
Glad to hear!
@nusrar3540
@nusrar3540 2 ай бұрын
Thank you 🙏
@mugerwaobadiah1621
@mugerwaobadiah1621 2 ай бұрын
nice tutorials
@1ManStartup
@1ManStartup 2 ай бұрын
Thanks
@mugerwaobadiah1621
@mugerwaobadiah1621 2 ай бұрын
@@1ManStartup any new series coming up like ecommerce app with restapi with authentication, set management with provider without firebase
@1ManStartup
@1ManStartup 2 ай бұрын
@@mugerwaobadiah1621 The most recent series is a Flutter Game kzbin.info/aero/PL_D-RntzgLvYIxI_Kuwy1f7HedxTF2GPK&si=7phvZSGoFO4Tf9JO I've been considering doing a series with a REST api backend using Django & a Flutter frontend. But not in the immediate future
@mugerwaobadiah1621
@mugerwaobadiah1621 2 ай бұрын
@@1ManStartup that's great but am not a game developer.
@yap9660
@yap9660 3 ай бұрын
would it possible to have dynamic pricing for the in-app purchases? As I have a service which it has different pricing depending on the selection of the user
@1ManStartup
@1ManStartup 3 ай бұрын
Yes this should be possible, I haven't set this up myself but the first thought that comes to mind is to have several different products which have the different prices. For example premium_99 premium_299 - then you can filter out the products based on the business logic around which price you want to show. Likely there are better ways, this is just a first thought.
@yap9660
@yap9660 2 ай бұрын
@@1ManStartup Thank you for your reply. Considering that I have multiple selection. For example I have multiple categories: 1) 0 - 100 km 2) 1day to 100 days Selection 1 and 2 are highly dependent, based on the distance and the duration of the selection, we will have dynamic pricing. This mean I will need to create more product on the playstore. I have tried to use 3 product, base-product, distance, and duration, and increment the count of the quantity when offering to user. But apparently the packages only allow to select one product at a time. This is causing some trouble.
@1ManStartup
@1ManStartup 2 ай бұрын
@@yap9660 my thinking would still be to create a product for each specific potential outcome. Then maybe you have 10 product ids, in the app's logic the user will make selections which always narrow it down to one id.
@1ManStartup
@1ManStartup 2 ай бұрын
Or simplify the pricing structure, if it's a subscription charging monthly or yearly is more typical than letting the user select an amount of days.
@yap9660
@yap9660 2 ай бұрын
@@1ManStartup Thanks you for your recommendation. It is very helpful
@manojperumarath7570
@manojperumarath7570 3 ай бұрын
Since we are not passing user id in flutter code, how does backend script knows the user id of the current subscribing user?
@1ManStartup
@1ManStartup 3 ай бұрын
That should all be explained starting at 6:16:48
@imorenodev2886
@imorenodev2886 3 ай бұрын
Great tutorial. I would love a drag and drop card game example like blackjack.. maybe I'll make it!
@1ManStartup
@1ManStartup 3 ай бұрын
Yes you should! At this time I'm talking a short break from making videos - but maybe in the future I'll do another game with drag & drop.
@imorenodev2886
@imorenodev2886 3 ай бұрын
at 5:26 I had to change the collision callback from onCollisionStart to onCollision in order to get the player to disappear only when it reaches the bin position.y @override void onCollision(Set<Vector2> intersectionPoints, PositionComponent other) { if (other is Player && other.position.y > position.y) { other.removeFromParent(); } super.onCollision(intersectionPoints, other); }
@shashwat_dubey_
@shashwat_dubey_ 3 ай бұрын
make : The term 'make' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. Any idea how to solve this error? I have installed makefile plugin in my android studio.
@1ManStartup
@1ManStartup 3 ай бұрын
if you open a fresh terminal and type `make --version` it should say something like "GNU Make 3.81..." if not then you don't have make installed. A quick google search can get you the command to do that!