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

How to effectively subscribe to the API response changes in the case where API provider doesn't provide subscription service directly?
I'm working on the Flutter application which requires updated scores and result of the fixtures to be fetched. But how to efficiently subscribe to the updates in API without actually spending limited API requests?I'm using https://www.cricapi.com/ to get the necessary data. But an application residing locally needs to be notified when the result of the fixture is decided.There are some solutions I have thought of: 1. Simplest of them all is to make API request periodically from each mobile device. But it's very costly and seems inefficient when we compare no. of hits and misses. 2. Slight modification to the first solution would be to run the periodic state change test using constantly running function at the server (similar to cloud function) and when there's a hit, inform the concerned peers about the changes. 3. I'm thinking of using Stream but not entirely sure about its implementation.I'm still novice in mobile application developing, so I welcome useful practices when dealing with Asynchronous services.

May 16, 2020 at 09:20AM by agent_515
https://ift.tt/2WC5u8Q
New post on Flutter Dev Google group:

Thread 1: signal sigabrt
Please help me out, how to resolve the signal sigabrt issue in ios. Its xcode 11

May 16, 2020 at 11:10AM by shinos mohamed
https://ift.tt/2y7wO5n
New post on /r/flutterdev subreddit:

Macbook air 2015 (early) 4 gb, enough?
Will this be enough to run Flutter? (My main is a ryzen build + also got a thinkpad). Just need mac for testing and programming once in a while (maybe also photoshop).Is 4 gb ok?I can buy it very cheap, otherwise I would go for for more memory.

May 16, 2020 at 12:17PM by ilmep
https://ift.tt/3dWRbS9
New post on Flutter Dev Google group:

type 'Container' is not a subtype of type 'List
return ListView.builder( // itemCount: snapshot.data.length, itemBuilder: (_,i) => Row( mainAxisAlignment: MainAxisAlignment.spaceEvenly,

May 16, 2020 at 01:33PM by sanjeev baria
https://ift.tt/2WCaxpG
New post on /r/flutterdev subreddit:

Future of flutter on the web
I have an web application I will be developing which makes heavy use of animations. I've been looking into using Flutter, since handling a heavy amount of animation seems to be one of the main selling points for flutter over native web. So far, I have found two main problems with flutter that deter me from using it, and I think will prevent widespread adoption.Given flutter is rendering inside an html canvas element, it seems to have problems with aliasing. Going through the examples on https://gallery.flutter.dev/#/, I found things like cursors hovering over the middle of characters instead of the end, and thick blurry lines.Performance. Flutter performance is very impressive considering what it does, and will obviously be able to do things that a native web couldn't. However, it does feel a bit laggy navigating through the example apps. Also, for very simple apps/pages where there is not much going on, the fact that we are still painting a canvas even for simple things like scrolling means that simple apps/pages that would have performed fine natively on low end devices, will run now use much more resource on those devices.Is there any chance of these issues being improved upon?Finally, and I realise this is far fetched, what is the likelihood of a browser-like runtime for Flutter apps? I'm guessing you would want to serve uncompiled flutter apps in place of HTML, CSS, JS and then have an engine to compile it client side. I'm guessing the developing such an engine would be comparable to developing browser rendering engines from scratch, but maybe easier since flutter has less of the complexity of web technologies.

May 16, 2020 at 01:44PM by maximeridius
https://ift.tt/2WEoJ1A
New post on Flutter Dev Google group:

Home Page Running Twice after upgrade to Flutter 1.17.0 (and 1.17.1) from 1.12.13+hotfix.9
I have a simple routes table in main.dart as follows: routes: { "/": (context) => !globals.isAuthenticated ? AuthPage() : UsersPage(), "/profile": (context) => !globals.isAuthenticated ? AuthPage() : UserProfilePage(), }, The "/"

May 16, 2020 at 03:41PM by Graham Dickinson
https://ift.tt/3dPnh1P
New post on Flutter Dev Google group:

help please divide datasnapshot into 2 column
TabBarView( controller: tabController, children:
New post on /r/flutterdev subreddit:

OnLaunch and onResume fired when clicking notification
FCM: If the application is not open and a notification is clicked. Both the events are fired, when the application is in background only onResume is fired, is this the expected behaviour? I was expecting only onLaunch to be fired if the app is not open.

May 16, 2020 at 05:10PM by il3g3ndry-ws
https://ift.tt/2LEKest
New post on Flutter Dev Google group:

Trying to intergrate firebase with my project but its failing to compile, could anyone help me its showing the errors below
C:\Users\DsTechLtd\AndroidStudioProjects\jumia_app\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java:17: error: package io.flutter.plugins.firebaseanalytics does not exist flutterEngine.getPlugins().add(new io.flutter.plugins.firebaseanalytics.FirebaseAnalyticsPlugin

May 16, 2020 at 05:57PM by Kakooza Steven
https://ift.tt/365NcQg
New post on Flutter Dev Google group:

Access to site
We are having problems with connecting to Flutter.dev and Dart.dev from Uzbekistan. Local internet providers are telling that they didn't blocked these sites. And there is a problem with all the internet providers of Uzbekistan. Maybe it's on Flutter side

May 16, 2020 at 07:19PM by Abdulaziz Abduqodirov
https://ift.tt/3fXIeJM
New post on Flutter Dev Google group:

Exception:RenderStack object was given an infinite size during layout
I am trying to position a container inside a stack but keeps getting this exception.How can i position the container of given size inside the stack using lets say right:0,top:0?What correction should i make in my current code below?I am also attaching the screenshot of exception i am getting.The

May 16, 2020 at 07:46PM by Anoop Rana
https://ift.tt/3cEGCmm
New post on /r/flutterdev subreddit:

Which MBP configuration?
I’ve been struggling for the last few months with my 2015 MBA.I’m looking to upgrade to the MBP, what configuration of the following specs do you recommend? RAM -8gb -16gbStorage -256gb -512gbProcessor -1.4 GHz 8th Gen i5 -1.7 GHz 8th Gen i7 -2.0 GHz 10th Gen i5Ideally trying to keep the cost lost, whilst also future proofing, thing I least know about is the effect of the different processors.Thank you!

May 16, 2020 at 08:33PM by bonsaibloke
https://ift.tt/2X8MRIK
New post on /r/flutterdev subreddit:

#Hack20: Its happening again, but this time online. Sign up to the mailing list, and join us for the weekend of 27-28th June 2020!
https://ift.tt/2X11j5s

May 16, 2020 at 08:31PM by miyoyo
https://ift.tt/3bF0zbc