Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on /r/flutterdev subreddit:

What's the industry standard way of making api call ? what should be the folder structure and state management ?
I'm making an app which will show the player statistics but wondering about standard way of API calls.
Is there anything you're practicing for minimizing API calls ? Should I just create a API class and create bunch of methods in it ?

January 29, 2022 at 06:52AM by ashishacharya083
https://bit.ly/3AIZ1uU
New post on /r/flutterdev subreddit:

Which State Management to use? I have never used specific state management plugin, all I use is setState. I am building an e-commerce app, I am stuck with the Add to Cart, wishlist features. Which I will use State Management, as I need to send change of state info to the other widgets.
Another feature is whenever the cart doesn't become empty I need to show badge on the Icon, which in bottom navigation bar.

January 29, 2022 at 04:41PM by Sai_Varaprasad
https://bit.ly/3s1xukD
New post on /r/flutterdev subreddit:

Freelancining confidence
I never problem solving or practice on dart or java on hackerrank or any website like this ..... but I made two Ecommerce application and I really understand their logic so do you think I am capable of working as a freelancer? and if not what I really need to be able to work as a freelancer ...do I should make another app or what?

January 29, 2022 at 06:12PM by engkhaledeisa
https://bit.ly/3rVQTDw
New post on /r/flutterdev subreddit:

Improving Flutter latency through sksl automation
https://bit.ly/3rcs0V9

January 29, 2022 at 05:48PM by realusername42
https://bit.ly/3AKxGbL
New post on /r/flutterdev subreddit:

Integrating Forums in an android app?
Is it possible to integrate forums like Simple Machines Forum in an app or any other forum? Or is there any package/plugin that makes it easier to develop it and integrate it with firebase/firestore.​New to all this so sorry if I am not using the correct terminologies.

January 29, 2022 at 07:04PM by shadow-_-king
https://ift.tt/ardckMD3e
New post on /r/flutterdev subreddit:

I have a text and want a button as small as the text.
All the other buttons are just too big. I know the question sounds stupid but i started flutter 3 days ago and i have to deliver this in 2 days.

January 29, 2022 at 08:01PM by penileskwigliness
https://ift.tt/x5MS6BPht
New post on /r/flutterdev subreddit:

FlutterForce — Week 155
https://ift.tt/zBUOfodL7

January 30, 2022 at 11:11AM by flutterist
https://ift.tt/eP1wtDG5o
New post on /r/flutterdev subreddit:

Has anyone tried SqlDelight in Flutter? What relational database are you using?
I need a relational database in the app and I am thinking about the possibilities.Currently, the only option I am seeing supported by Flutter is using sqlite, but the issue here is that it is ton of code to write, as shown in this documentation page.You have to create:mapping and parsingdata classesSQL queriesand this a lot of boilerplate.So I was wondering what other solutions there are and since Kotlin Multiplatform is technically callable from Flutter, it would be theoretically possible to use SqlDelight in Kotlin Multiplatform and generate MethodChannel, but I don't see a way of doing it.Basically, the goal would be to write the SQL queries once and generate code along the way so it is type-safe to use. Random idea would be (no idea if it works) a SqlDelight -> Kotlin -> Pigeon -> Dart generation. My aim is to minimize the boilerplate I have to write, no matter how ridiculous the generation chain is.Maybe someone has some solution though. What are you guys using?

January 30, 2022 at 12:49PM by NotSoIncredibleA
https://ift.tt/Za1RNFKW7
New post on /r/flutterdev subreddit:

How do i remove a background from a video file on Flutter
Hello,​I've been developing applications with flutter for the past year and I'd like to start working on more advanced projects that make use of deep learning. I know there are tutorials on udemy and youtube but most of them work on images only. Im lost at the moment trying to find a way to way to start a project where I can remove the background from a video file all on flutter? From my research, I know I have to look into flutter OpenCv and tflite but I cant figure out how I'll be doing that. Im eager to learn a new framework / laguage that will work hand in hand with flutter but i dont know where to start.​Any and all help is much appreciated.

January 30, 2022 at 01:19PM by captainpizza23
https://ift.tt/YTyuwpHtk
New post on /r/flutterdev subreddit:

I need your help to attract the attention of the Flutter team for adding support for test ids. I'm using Cypress and because of this little missing detail there's a bunch of extra hassle to contend with. Please upvote the GitHub ticket. Thank you!
https://ift.tt/LcTNq67dB

January 30, 2022 at 05:08PM by SpaceInstructor
https://ift.tt/OckWHd7oe
New post on /r/flutterdev subreddit:

Undo/Redo Mechanism with Riverpod in Flutter
https://ift.tt/9CqmUfFa8

January 30, 2022 at 07:19PM by iisprey
https://ift.tt/KnojcEk6R
New post on /r/flutterdev subreddit:

Flutrer Bloc: Putting Streams in repositories ?
I'm studying flutter_bloc and I have a question about the connection example, available here: https://bloclibrary.dev/#/flutterlogintutorial?id=authentication-repositoryMy question is about the AuthenticationRepository which contains login, logout methods and an AuthenticationStatus stream. This repository is injected in LoginBloc(connection form) and AuthenticationBloc(routing/redirecting logic). AuthenticationBloc directly subscribe to AuthenticationRepository's stream and update it's state accordingly.It's these 2 streams that confuse me. It's very clear that a block behaves like a stream, but is it really a good practice to put streams in repositories?The consequence of this is that all blocs that need authentication depend on authRepository. They call the methods of the repo which end up updating the AuthenticationBlock thanks to its internal stream.But it looks weird to me. Instinctively I would rather tend to make my blocs dependent on AuthenticationBloc and remove the stream from the AuthenticationRepository. This way the authenticationRepository would only be responsible for calling the API and hiding the token.I would love to hear your opinion on this. The BloC architecture is not really easy to understand so feedback from people who have already practiced it would be very helpful.

January 30, 2022 at 10:16PM by Pierre2tm
https://ift.tt/O2FiZMsP0