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

Discussion : native Chrome support
Hello,Recently, Flutter Web has been announced and allows any Flutter app that doesn't rely on Method Channel to work on the web. I have tested it myself, and the performance is clearly not there, compared to a AOT compiled application for iOS / Android. Since Dart, is compiled to Javascript which is itself interpreted, this not very surprising.Since Google owns Chrome and Flutter, I was wondering if it could add Flutter / Dart support directly to Chrome. The app could either be served as Dart code and just-in-time compiled by the browser or directly as byte / machine code. I know this is clearly not compliant with web standards, but the goal of this post is to discuss what you would think about it.

November 03, 2019 at 11:56PM by Vardiak
https://ift.tt/32aVBP0
New post on /r/flutterdev subreddit:

[charts_flutter] Has anyone managed to get `selectionChanged` callback to work properly for gauge chart?
So i've been struggling with this bug for a few months now, have made several SO posts and opened issues on the charts Github repo to no response so this is my final straw attempt to try and find someone who may have a better idea of what I'm potentially doing wrong or whether this is a bug with the charts package.Using the gauge.dart file from the example here, i've just added a changedListener callback to get which segment the user has clicked.It works as expected only for 3 of the 4 segments, but clicking the last segment triggers an exception if it's tapped towards the end of it's region (depending on what random value it has been given from the example, if it's a relatively small segment then the whole segment give the same error).
static List<charts.Series<GaugeSegment, String>> _createRandomData() { final random = new Random(); final data = [ new GaugeSegment('Low', random.nextInt(100)), new GaugeSegment('Acceptable', random.nextInt(100)), new GaugeSegment('High', random.nextInt(100)), new GaugeSegment('Highly Unusual', random.nextInt(100)), ]; return [ new charts.Series<GaugeSegment, String>( id: 'Segments', domainFn: (GaugeSegment segment, _) => segment.segment, measureFn: (GaugeSegment segment, _) => segment.size, data: data, ) ]; } @override Widget build(BuildContext context) { return new charts.PieChart(seriesList, animate: animate, // added selectionModels to pass in _onSelectionChanged callback selectionModels: [ new charts.SelectionModelConfig( type: charts.SelectionModelType.info, changedListener: _onSelectionChanged, ) ], defaultRenderer: new charts.ArcRendererConfig( arcWidth: 30, startAngle: 4 / 5 * pi, arcLength: 7 / 5 * pi)); } _onSelectionChanged(charts.SelectionModel model) { final selectedDatum = model.selectedDatum; print("DATUM: ${selectedDatum.first.datum}"); if (selectedDatum.isNotEmpty) { print('IS_NOT_EMPTY'); } } 
Will give this exception
The following StateError was thrown while handling a gesture: Bad state: No element When the exception was thrown, this was the stack #0 List.first (dart:core-patch/array.dart:202:5) #1 GaugeChart._onSelectionChanged package:example/pie_chart/gauge.dart:89 #2 MutableSelectionModel.updateSelection.<anonymous closure> package:charts_common/…/selection_model/selection_model.dart:178 #3 List.forEach (dart:core-patch/growable_array.dart:283:8) #4 MutableSelectionModel.updateSelection package:charts_common/…/selection_model/selection_model.dart:178 ... Handler: "onTapUp" Recognizer: TapGestureRecognizer#1d1a0 debugOwner: GestureDetector state: possible won arena finalPosition: Offset(286.5, 261.0) finalLocalPosition: Offset(278.5, 153.0) sent tap down 
Here is a screenshot showing the click region that works for the final segment

November 04, 2019 at 04:20AM by Jizzy_Gillespie92
https://ift.tt/2PIZ5FO
New post on /r/flutterdev subreddit:

Help with Translation animation with CustomMultiChildLayout
I need to perform some animations and unless there's AnimatedContainer properties I can't animate them.I've tried using AnimatedPositioned but animating by providing constraints for bottom and right don't work.So how can I animate the children? A little more explanation of the layoutChild() would help too.

November 04, 2019 at 05:59AM by uncoded_decimal
https://ift.tt/2raTTQL
New post on Flutter Dev Google group:

Linking accounts with same email , firebase_auth, please help
My app needs google signin, facebook signin and email and password signin, im getting the ERROR_ACCOUNT_EXISTS_WITH_DIFFERENT_CREDENTIAL error. The docs says that i need to call fetchSignInMethodsForEmail , and then redirect to the current sign in method and link the accounts but i dont have

November 04, 2019 at 12:11PM by David De Jesus
https://ift.tt/2C9aA10
New post on /r/flutterdev subreddit:

getting Google Play warning message on google play console
We've detected that your app is using an old version of the Google Play Developer API. From December 1 2019, versions 1 and 2 of this API will no longer be available. Update to version 3 before this date. Note that this is not related to the AIDL/Billing Library deprecation​any idea to know which plugin causing this warn?

November 04, 2019 at 11:40AM by Kotaibaw
https://ift.tt/34rzm8J
New post on /r/flutterdev subreddit:

Flutter Tap Newsletter - Week 11
https://ift.tt/2PLxqEe

November 04, 2019 at 12:50PM by vensign
https://ift.tt/2WHybzi
New post on /r/flutterdev subreddit:

#27 GridView.count Flutter Widget
https://youtu.be/RYBEmi9jORE

November 04, 2019 at 03:23PM by systechdevelopers
https://ift.tt/2rcgBYL
New post on /r/flutterdev subreddit:

#26 MediaQuery Flutter Widget
https://youtu.be/nsQvDU4RcjM

November 04, 2019 at 03:21PM by systechdevelopers
https://ift.tt/2NcJ8pF
New post on Flutter Dev Google group:

Multiple widgets layout issues
Hi there, I am developing an app that pulls data from differtent json sources. One part pulls the data to create buttons that lead on to the next page to pull the relevant json data. I can get it to pull that data and display it in the buttons, where my issue start is displaying this along with

November 04, 2019 at 03:52PM by Jamie Sutherland
https://ift.tt/2NF3EOM
New post on /r/flutterdev subreddit:

Flutter app (prototype) to listen music based on music subreddits
Hi,I've been working on an app on my free time to be able to retrieve playlists from subreddits and listen to them.I've got a functional prototype , but there's still a lot of missing functionalities/optimizations that i will work on when i have some time.Feel free to give any feedback, idea, or help !I'm a relatively new Flutter developer, coming from a Rails background, so the patterns/architectures should probably have a lot of changes that might be better. I'm open to critic as it can also improve my skills for my work in Flutter !I'm also not that good at design, so i tried something really simple, i'll see that part with my colleague designer when we can.https://github.com/Gloumy/music-from-reddit

November 04, 2019 at 05:10PM by Gloumy
https://ift.tt/2WGZs4W
New post on /r/flutterdev subreddit:

fenwick_tree v1.0.0, also knows as Binary Indexed Tree or BIT. With it you can calculate sums of ranges efficiently. Sometimes isolates won't help you and you'll need a fitting data structure. (It uses Groups from abstract_dart to prevent runtime exceptions caused by implicitly expected operators)
https://ift.tt/34rqVKL

November 04, 2019 at 06:07PM by modulovalue
https://ift.tt/2PJ9YHt
New post on /r/flutterdev subreddit:

Why Flutter?
Okay... So here's the thing. I'll be using Flutter to develop my End Semester project. My teacher might ask me this question that,"Why I've chosen Flutter?"Then apart from this that we can develop iOS, Android and web from single code base what else could be a point to defend this answer?Thanks ❤️😊

November 04, 2019 at 06:04PM by m_hamzashakeel
https://ift.tt/2WFyjQ9
New post on /r/flutterdev subreddit:

Looking for a team to create an app good enough for playstore/appstore
Hello there,not sure if this is appropriate, but I wanted to reach out to the community to find a small to mid size team for developing an app that we could put into the app & play store. It does not matter if the application is free or paid, but I rather want to learn and gain more flutter knowledge. I already have some (I'd say intermediate) knowledge about flutter and its usage.I have several ideas we could implement, but other ideas are also welcome.What is very important for me: Usually people who reach out on reddit either drop the project/idea after a few chats or commits and this is definitely not what I want.If you are interested, DM me and maybe give me a small description what you want to do, how much time you can spend a week and where you are from (bc of timezones).​P.S.: I am CET+1

November 04, 2019 at 07:07PM by lukasbash
https://ift.tt/2oLC221
New post on Flutter Dev Google group:

Send email to new users
Dear all, I have a flutter app with Google and Facebook Signin implemented via Firebase. I want to send a welcome email to the users after new registration is done. Kindly let me know how to implement that. Thanks, Niladri

November 05, 2019 at 02:17AM by Niladri Paul
https://ift.tt/2Cf90e4
New post on /r/flutterdev subreddit:

WebView component for Flutter?
Looking to integrate some legacy functionally via a WebView in a new app.From what I've been able to see, this isn't fully available yet on Flutter, or still in development. Which is very disappointing unfortunately. Need to be able to show dialog boxes over the WebView. It also seems the keyboard is janky on Android in WebView (the one I've tried).Any thoughts or workarounds that someone may know?

November 05, 2019 at 03:09AM by JehovahsNutsac
https://ift.tt/32jzJkm
New post on /r/flutterdev subreddit:

Is the login page of a app a stateful widget?
I am new to flutter and currently i am developing a app and i have to create a login page for that app but i am confused whether to use stateful or stateless widget for the login page

November 05, 2019 at 08:21AM by MichaelDanu
https://ift.tt/2JQT5XB