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

When exactly is onChange fired?
Sorry if the question is silly, I haven't had time to properly experiment with Flutter yet, but it certainly looks awesome.Consider a CupertinoSwitch instance. When we tap it, it fires onChange callback, which changes a value in the parent state, which causes parent build to re-render the widget and display the updated value.However, iOS-like switches do not change their visual state immediately, they play a little animation. This means an actual immediate re-render wouldn't work, as it would instantly render the switch in its target state, without animation.My question is, how is this problem solved in Flutter? When exactly is onChange event fired? Does it happen immediately when the switch is tapped? If that's the case, shouldn't parent build() also be called immediately and show the updated value of the switch, without any animation? Or does onChange get fired only after the animation finished?Any explanations are appreciated!

March 15, 2019 at 01:23PM by smthamazing
https://ift.tt/2FdeiZR
New post on Flutter Dev Google group:

Flutter Contest 5Kb limit
Hi all, Is anyone here taking part of Flutter Contest? I'm trying to stay below the 5kb limit but it's hard. Does anyone know if is allowed to minify dart files for the contest? Regards, Dimas Salazar

March 15, 2019 at 01:58PM by Dimas Salazar
https://ift.tt/2JepLMX
New post on Flutter Dev Google group:

What the best way to use strings ?
Hi guys I am learning flutter. What the best way to use this in assets? I believe this will facilitate me for further internationalization. import 'package:flutter/material.dart'; class Strings{ static String menu01 = "Login"; static String menu02 = "Register"; static String menu03 =

March 15, 2019 at 03:08PM by Nilmar Castro
https://ift.tt/2HqkjF0
New post on Flutter Dev Google group:

Flutter & CircleCI ?
Have someone made integration with flutter - fastlane and circleci? I already make Android one but the macos env output is always. ( cirrusci/flutter) #!/bin/bash --login -o pipefail flutter doctor /bin/bash: flutter: command not found

March 15, 2019 at 04:01PM by Miguel
https://ift.tt/2TOPnnB
New post on /r/flutterdev subreddit:

How does Google monetize Flutter?
Hi, somehow I wasn't able to find information about how google makes money with Flutter. Anyone knows? Also is there any "calling home" built in?

March 15, 2019 at 03:49PM by leaiaiai
https://ift.tt/2VWHLNa
New post on /r/flutterdev subreddit:

rxDart vs Bloc Library
After this talk https://www.youtube.com/watch?v=RS36gBEp8OI it seem that Bloc is a very powerful state-management strategy for Flutter. Currently the 2 major Bloc implementation options seem using rxdart package vs the u/felangel1 's Bloc build on top of rxDart.​What are your views of using Bloc vs rxDart for Flutter State Management?

March 15, 2019 at 04:24PM by mayurdhurpate
https://ift.tt/2UCREQ7
New post on /r/flutterdev subreddit:

Flutter Pie Chart with disc animation
https://ift.tt/2FdhMLT

March 15, 2019 at 05:52PM by ayushpguptaapgapg
https://ift.tt/2O8WDoZ
New post on /r/flutterdev subreddit:

How is everyone serializing JSON in Flutter?
On the Flutter website, there are many techniques listed for JSON (de)serialization:https://flutter.dev/docs/development/data-and-backend/jsonI also found some plugins which are using the reflectable library:https://pub.dartlang.org/packages/dart_json_mapperI haven't really been using any code generation libraries but I thought I should probably do that. I'm curious how everyone else is doing it.

March 15, 2019 at 10:59PM by Elixane
https://ift.tt/2HlLtgd
New post on /r/flutterdev subreddit:

A study in canvas drawing, clipping, and PageViews
https://ift.tt/2HBOd8y

March 15, 2019 at 10:57PM by lacronicus
https://ift.tt/2HlLukh
New post on /r/flutterdev subreddit:

Ok Flutter Genius Bar, how can flutter be used in 360/AR/vr applications?
Any way one can render a flutter app/view into an ar space on android? And/or display it in a vr space?

March 16, 2019 at 02:15AM by yabadababoo
https://ift.tt/2UyOOvk
New post on Flutter Dev Google group:

Flutter Create
Hi, i want to participate on this Challenge, so how i sent zip file to google flutter https://ift.tt/2SofDRe can i sent whole flutter files with lib folder Or only lib folder or only main.dart file which one please help me to join this Awesome Challenge Thanks

March 16, 2019 at 03:50AM by Deepjyoti Baishya
https://ift.tt/2T9kmGO
New post on /r/flutterdev subreddit:

How to use Unimodules in Flutter
https://ift.tt/2EAR8es

March 16, 2019 at 04:37AM by datwheattho
https://ift.tt/2F4h1n9
New post on /r/flutterdev subreddit:

Feedback Request: Android and Flutter SDK Docker Image
About a year ago, I was using BitBucket and looking for for a Docker image to use with their pipeline feature for Flutter-related CI/CD.At the time, given the rapid pace of Flutter development, everything I found was either weeks or months out of date, or weighed in at a hefty 2-3 GB. So I decided to make a simple image that would track commits to the main Flutter repository on GitHub:https://hub.docker.com/r/adamantium/flutterI've since stopped needing it for personal use, but recently a user raised up an issue they were encountering with Circle CI. That's fixed, but made me realize there had been quite a few downloads / docker pulls.Since the polling process is automated and I'm using Docker's autobuild infrastructure, maintenance and upkeep is fairly limited, so I thought I would reach out to you - an active development community - and ask:What changes, features, or improvements would make this image more useful to you?If there's a reason that would prevent you from using it, I'd be interested in hearing that as well!

March 16, 2019 at 03:42AM by jrmcpeek
https://ift.tt/2Y2Eaiv
New post on /r/flutterdev subreddit:

Noob here. Anyone know how to solve this problem?
https://ift.tt/2HA6Slb

March 16, 2019 at 09:35AM by memeotis
https://ift.tt/2Y1PICM