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

Why You Should Choose Flutter to Ramp-up Your Mobile Apps
If you're looking forward to ramping up your mobile app development game, then choose Flutter, it can help you get through the competition. Learn why Flutter is the best. https://www.softprodigy.com/why-you-should-choose-flutter-to-ramp-up-your-mobile-apps/

October 29, 2020 at 01:24PM by sp_jamesdaniel
https://ift.tt/2JarGm0
New post on /r/flutterdev subreddit:

Interdependency between BLoCs, how do you handle it?
Disclaimer:My project is an hybrid angular dart + flutter app, the angular dart is for the webapp while the flutter app is for the mobile clients, they both use the BLoC pattern and BLoCs are shared between the apps in order to maximize code sharing between web and mobile clients.Also I'm sorry if this has been somehow already asked, but I wasn't able to find anything.To the beef:After a couple of architectural mistakes I've realised I should split a few monster BLoCs int smaller, more fine grained, units of business logic, and I should also drop the assumption that I should have one and only one bloc per screen (do you agree on that btw?).So now I was trying to come up with a solution for BLoC interoperability, here's an example scenario:Let's assume my app displays a list of Conversations, they get updated periodically and streamed to the ui, in different pages, and with different styles/info. The Conversations are tied to the logged user, hence, if the user logs out, the Conversations get cleared, if the user changes the Conversation change and so on.So I have a ConversationsBLoC that strams all the conversations and an AuthBLoC that handles the auth layer, somehow ConversationsBLoC should be aware of the user changes from the AuthBLoC and react accordingly (obviously receiving some data, like the user ID).How do you solve such scenarios? Do you rely on sink inputs on one BLoC and pipe those to stream outputs of another? Do you use a shared repository upon which all BLoCs depend? Do you create a shared event pool?For the injection to the widgets/components I would rely on Provider or something even simpler like implementing InheritedWidget and implementing BLoC providers on my own. I don't wanna rely on flutter_bloc because after some inspection it looks too rigid, there's nothing wrong with mapping events and states in such details, but it seems too cumbersome and too "boiler-platey" for something that might be otherwise easily implemented with streams and sinks (also, there's the angular dart thing to be taken into account).Thank you for your patience 🙏!

October 29, 2020 at 02:47PM by i_mush
https://ift.tt/3mzk2Qu
New post on /r/flutterdev subreddit:

Vladimir Ivanov (EPAM) discusses Flutter pipelines in this free webinar later today:
https://ift.tt/2HKVGEw

October 29, 2020 at 03:45PM by HHendrik
https://ift.tt/3oCAuBk
New tweet from FlutterDev:

Join this digital @fluttervadodara event!

Oct 31st at 2PM GMT

🌟 Introduction to GitHub
🌟 How to contribute to Flutter
🌟 1:1 expert advice

PS: If you want to contribute to Flutter in a new way, tune in to learn about a fun project!

Event ↓ https://t.co/KxURBnac7L— Flutter (@FlutterDev) October 29, 2020

October 29, 2020 at 03:55PM
http://twitter.com/FlutterDev/status/1321828058706272256
New post on Flutter Dev Google group:

Flutter on 32 bit Windows 7
Can I install Flutter on 32 bit Windows 7?

October 29, 2020 at 05:01PM by Partha Mandayam
https://ift.tt/31Thkxj
New post on /r/flutterdev subreddit:

How to check how many app are using my flutter package ?
Hey community, is there a way to check how many apps are using my flutter package?

October 29, 2020 at 06:11PM by ZealousidealPick1451
https://ift.tt/3e6hQNm
New post on /r/flutterdev subreddit:

Does Angela Yu’s course on Flutter is qualifies to make someone comfortable developing apps?
I have some experience (about a year) developing web applications and would like to expand my knowledge to app development as well, so how far could I go with Angela’s course?

October 29, 2020 at 05:53PM by notpikatchu
https://ift.tt/31W7o6j
New post on /r/flutterdev subreddit:

I made Envify - a better way to handle environment variables
/r/dartlang/comments/jkfs40/i_made_envify_a_package_to_handle_environment/

October 29, 2020 at 07:40PM by frencojobs
https://ift.tt/3kGkUT2
New post on /r/flutterdev subreddit:

How expensive are canvas drawing operations? Should I check whether elements are on screen first?
Let's say I've got 3000 circles to draw on an interactive viewer. 90% of the points will be off screen at any given point. Should I check if part of each circle would be inside the current viewport when I draw it and draw a few hundred or are the calls cheap enough to not bother with it? Also wondering if this changes or goes from yes to definitely if the circles are smiley faces, so 4 circles total for each totaling 12,000 canvas calls when ever the interactive viewer is panned.Also curious if that should also be true of an html5 canvas - should I be checking if things are offscreen before trying to draw them? Is it only worth it if you have a large number of things to draw that will not frequently be on screen at the same time?

October 29, 2020 at 07:02PM by Tomnnn
https://ift.tt/2G9pMRu
New post on /r/flutterdev subreddit:

Publishing a flutter app to Google play store
So I have made my first app using Flutter and I want to post it on Google play store. How long does it take for the app to be approved and published? And if I publish it as an Alpha release, will the app be available for testing immediately or I'll have to wait the same time?

October 29, 2020 at 09:51PM by Timndichu
https://ift.tt/2G9lp91
New post on /r/flutterdev subreddit:

Is this a generally accepted way of organizing screens?
import 'package:flutter/material.dart'; import 'package:xxxx/globals.dart'; class HomeScreen extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( backgroundColor: globalAccent1, body: Column( children: [ SizedBox(height: 45.0), Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ BackButton(), TitleText(), MenuButton(), ], ) ], ), ); } } class MenuButton extends StatelessWidget { const MenuButton({ Key key, }) : super(key: key); @override Widget build(BuildContext context) { return Padding( padding: const EdgeInsets.only(right: 20.0), child: IconButton( icon: Icon(Icons.menu), onPressed: () {}, color: globalIconColor, ), ); } } class TitleText extends StatelessWidget { const TitleText({ Key key, }) : super(key: key); @override Widget build(BuildContext context) { return Text("Title of app", style: globalTextStyle1); } } class BackButton extends StatelessWidget { const BackButton({ Key key, }) : super(key: key); @override Widget build(BuildContext context) { return Padding( padding: const EdgeInsets.only(left: 20.0), child: IconButton( icon: Icon(Icons.arrow_back_ios), onPressed: () {}, color: globalIconColor, ), ); } } 
Screenshot of app

October 29, 2020 at 09:03PM by Daaaniell
https://ift.tt/31UKufG
New post on Flutter Dev Google group:

Changing a card's leading play/pause icon on card tap.
So I have a ListViewBuilder with Cards having a Listtile. Each card has a play/pause leading icon. What I want to do is to toggle the specific card's icon that was tapped and not all the cards in the ListViewBuilder. Here is a thread I found on stackoverflow that addresses that problem which

October 29, 2020 at 11:29PM by Firas Koussa
https://ift.tt/3kFp6CB
New post on /r/flutterdev subreddit:

How do I get complicated animation? like...
like this... https://dribbble.com/shots/3267120-Voice-Record do I use multiple AnimationController? I couldnt find any article for complicated animation. they just deal with simple and short animation.

October 30, 2020 at 02:36AM by devshin
https://ift.tt/3kHdAGK
New post on /r/flutterdev subreddit:

FlutterDev Rules #2 Needs a Fix
I think it should sayHelp requests go in r/flutterhelpbut it saysHelp requests go in r/FlutterDevbut they don't.

October 30, 2020 at 04:49AM by ooglek2
https://ift.tt/31Wjix5