Flutter Heroes
25.8K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New tweet from FlutterDev:

Keep your aspect ratio in check!

The AspectRatio widget can be used to give a child widget a specific aspect ratio. Use it to keep the ratio of your widget’s width and height consistent when dimensions change.

Watch more #WidgetoftheWeek here → https://t.co/gevEOytniu pic.twitter.com/EdVez92p6c— Flutter (@FlutterDev) June 20, 2019

June 20, 2019 at 06:40PM
http://twitter.com/FlutterDev/status/1141747629862182912
New post on /r/flutterdev subreddit:

const CustomPainter and CustomClipper
In this stack overflow question asked and answered by Remi Rousselet(author of Provider package), it says using const in front of the class constructor helps avoid unwanted widget builds.I am having performance issues with my 'CustomPainter' and 'CustomClipper' and want to apply this tactic. My customclipper clips a child widget with a certain custom shape and my custompainter paints a shadow according to the clipped shapes boundaries. These two shapes don't change at all. Only inside of the child widget changes(text).Question is how can i make these two classes const or static so that they don't get rebuild with every build by their parent widgets?

June 20, 2019 at 06:35PM by aytunch
http://bit.ly/2x7kvlg
New post on /r/flutterdev subreddit:

ReactiveHacks AMA
http://bit.ly/2ZyBdWX

June 20, 2019 at 06:26PM by vorcigernix
http://bit.ly/2WWeQsI
New post on Flutter Dev Google group:

Season veggies app lags on main screen
Hi, I downloaded this app for just checking out the framework, but it seems there are some issues, something feels off when scrolling and there are also lags. Hope this help you guys, it creates bad impression for new developers. ------------------------------ [image: RPReplay-Final1561050520.

June 20, 2019 at 07:14PM by Arkesh Kalathiya
http://bit.ly/2XsOhQh
New post on /r/flutterdev subreddit:

Switching themes in flutter with inherited widgets is soo smooth
http://bit.ly/31JLDVF

June 20, 2019 at 06:50PM by awesomeness-yeah
http://bit.ly/2RsxKqb
New post on /r/flutterdev subreddit:

SetState for another class
Let's suppose we have two classes MyApp1 and MyApp2 and MyApp1 has something like title how can I change the title of it when something in MyApp2 happens? For example when I click the button which exists in MyApp2 to change the title in MyApp1.

June 20, 2019 at 07:39PM by saleem1333
http://bit.ly/2WWjlbT
New post on Flutter Dev Google group:

Best Way to Detect Tablets?
Does anyone know if there's an "official" way to detect tablets with flutter? I'm familiar with: double _screenWidth = MediaQuery.of(context).size.width; I just wanted to know if there's a better option. Thanks!

June 20, 2019 at 08:02PM by Matthew Jones
http://bit.ly/2WX2Vjc
New post on /r/flutterdev subreddit:

Automatically build your Flutter apps with Travis-CI
http://bit.ly/2MUXwVd

June 20, 2019 at 09:29PM by SamJakob
http://bit.ly/2FjyWHu
New post on /r/flutterdev subreddit:

Tap Hero : Multiplatform to the max, casual tapping arcade game, developed in Flutter is now open source.
http://bit.ly/2WWjVBo

June 20, 2019 at 10:07PM by EngineerScientist
http://bit.ly/2KvKOu3
New post on /r/flutterdev subreddit:

new novice to learn flutter. One question as to how to use the database ?
I have never done Flutter in my school life and I am now doing that. We have made a website and published using hosting service company 'go daddy'. I just wonder how to synchronize the database with flutter?This might be the general question as to how to use the database using hosting service?

June 21, 2019 at 01:32AM by HeyJOe2
http://bit.ly/2Y5qNOq
New post on /r/flutterdev subreddit:

"Wait till it gets out of beta" they said. "Wait till hummingbird is released" , they said....still NO flutter jobs
Seriously WTF. Flutter is GREAT. yet all the job boards have 0-2 jobs over the course of months. Meanwhile reactive jobs are plentifulAre you all just rich or happily employed and Flutter is just a midnight hobby?

June 21, 2019 at 05:48AM by yabadababoo
http://bit.ly/2x6PaiT
New post on Flutter Dev Google group:

Is there any way to launch 'tel' & 'mailto' using flutter_webview_plugin
I'm trying to make 'tel' & 'mailto' to work on my app, It doesn't open up anything which I understand because flutter_webview_plugin doesn't allow any widget on top of it so I tried if(url.contains("tel")||url.contains("tel")){ flutterWebviewPlugin.stopLoading(); flutterWebviewPlugin.stopLo

June 21, 2019 at 11:07AM by Sarthak Solanki
http://bit.ly/2ZCOg9M
New post on /r/flutterdev subreddit:

The real reasons why you should care about Provider : Remi Rousselet giving a detailed run through of Provider
http://bit.ly/2WY7ipo

June 21, 2019 at 11:44AM by EngineerScientist
http://bit.ly/2XqTSGK
New post on /r/flutterdev subreddit:

Do you use Flutter web?
I'm really excited about flutter for web. But after having tried it out it seems as it isn't quite ready for real production apps (at least I don't think so yet). When do you think Flutter for web will be as stable as Flutter for mobile is right now?

June 21, 2019 at 01:45PM by Maltmax
http://bit.ly/2L5xGeJ