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

Hi Flutter lovers! I created a Dart package for us to help with managing dates easier than with DateTime. Feedback highly appreciated!
https://ift.tt/2AhfdJ6

June 08, 2020 at 03:49PM by DankkkDoonut
https://ift.tt/2Yk69ve
New post on /r/flutterdev subreddit:

Android OS Distribution Stats (website built w/ Flutter!)
https://ift.tt/2XFOsqT

June 09, 2020 at 07:06PM by Codelessly
https://ift.tt/3cMULNu
New post on /r/flutterdev subreddit:

I made derry - a script manager for dart
/r/dartlang/comments/gzpqva/i_made_derry_a_script_manager_for_dart/

June 09, 2020 at 06:49PM by frencojobs
https://ift.tt/2XLZ1bH
New post on /r/flutterdev subreddit:

Flutter performance considerations (vs React and JS in browser and Xamarin.Forms )
Being a Xamarin Dev for quite a while I was frustrated by how poorly it performed in a simple test of putting rotated text labels at random positions of the screen and counting how many are displayed in a second (Dopes/s). Eventually I've built 3 more versions of the test to see how other platforms perform (building basic UI, layout/render, dealing with visual trees/element collections).Sharing the results... And the disappointment of Xamarin.Forms.https://github.com/maxim-saplin/dopetest_flutter/blob/master/Dopes%20per%20second%202.jpg?raw=trueFlutter: 12250 Dopes/sHTML and pure JS/DOM: 2350 Dopes/sHTML and React SPA: 337 Dopes/sXamarin.Forms: 58 Dopes/sBoth Flutter and Xamarin.Forms promise native performance (as compare to Hybrid/Web apps). Though the magnitude of the gap (200x) is a big surprise.Also I think PWA is a good way to go with app dev and no concerns of web performance vs native are actual in 2020.And the repos:https://github.com/maxim-saplin/dopetest_flutterhttps://github.com/maxim-saplin/dopetest_htmlhttps://github.com/maxim-saplin/dopetest_reacthttps://github.com/maxim-saplin/dopetest_xamarin

June 09, 2020 at 09:17PM by medicince
https://ift.tt/2XOiqJq
New post on Flutter Dev Google group:

Flutter Web > No response to touch events on Safari
Hi, I developed a game with Flutter that I embedded with an iframe on a webpage. Events associated with flat buttons (onPressed), InkWell widgets (onTap), or Draggable widgets work on all browsers with either touch or mouse, but on Safari. On Safari, events respond only to a mouse click, not

June 09, 2020 at 09:45PM by C Maxetom
https://ift.tt/2XLDJeo
New post on Flutter Dev Google group:

Grouping Platform Folders
I find having the platform folders at root level cluttering the project. Is there a way to move them to a folder: MyApp |- clients |- android |- ios |- macos |- web |- assets |- test |- lib IMO This should be the default project config for new projects.

June 09, 2020 at 10:44PM by Jeff Jorczak
https://ift.tt/2MKQUG8
New post on Flutter Dev Google group:

When copying contact informtaion to new list a RangeError
import 'package:cbl_beta/providers/invite_contacts.dart'; //this is the structure of my model import 'package:flutter/foundation.dart'; class InviteContacts with ChangeNotifier { String displayName = ''; String phone = ''; String email = ''; bool invite = false; InviteContacts({

June 09, 2020 at 11:06PM by Russ Brewer
https://ift.tt/2Yii2BL
New post on /r/flutterdev subreddit:

Many questions provider global state ? embedded in top widget ?
Hi!
So i am trying to learn flutter, love the tooling and it also makes async a bit easier to program.Now, it might be just me and lack of Dart/flutter skills etc but everything seems to have at least 3 different solutions to one and same problem yet still more problems arises later.I honestly think if there was some kind of kitchen sink for the most common UX/navigations pattern people could focus implementing methods and UI for their domain. Anyone knows such resource ?Anyhow, provider(s). I guess it is common to have a "global" state in an app ? Such as my current position (long/lat) that needs to be reflected whatever (bottom tab) i tap on (one tab might be a map, another a list etc that has my long/lat info). Is n't this something provider could help with or should i use something like sharedpreferences ?Am i supposed to declare these providers in main/runapp (top) ? like so:​MultiProvider(providers: [ChangeNotifierProvider<WalkthroughProvider>(create: (context) => WalkthroughProvider(),),ChangeNotifierProvider<LocationService>(create: (context) => LocationService("init")),],​it works great in one screen to create an instance of one of these provider for example:​class Register extends StatelessWidget {Widget build(BuildContext context) {final mylocationdata = Provider.of<LocationService>(context);​but isnt this a "scoped" instance so when i call a provider implemented method (like getActivites()) on mylocationdata i would like to goto the map tab and see all the markers populated there. I tried but it wont affect another screen.Having a button in the same screen and call that provider instance does indeed populate the markers.Then next problem arises, changing tabs and the state is lost. Until i found out about IndexStack.Now all examples, even the official ones, describes the index variables to switch between the widgets you want in the body.body: IndexedStack(index: _selectedIndex,children: _widgetOptions,)How can i programmatically from a button or listitem tap in one StatefulWidget goto another widget that was included with indexstack above and a bottom navigator. Somehow change _selectedIndex yes but that seems not possible from within another widget.Doing a ordinary Navigator.of(context).pushReplacementNamed will create a full height/width screen so removing the bottom navigator.Thanks :)

June 09, 2020 at 11:09PM by plundin
https://ift.tt/2UnyYWr
New post on /r/flutterdev subreddit:

Slow SVG rendering
Is it just me, or there is visible delay in showing SVG files in the app?Am I using some legacy solution for SVG or is it known problem?I'd love to stay with SVG and use them on daily basis, but with this rendering speed I will probably need to switch to default jpg files.

June 09, 2020 at 10:50PM by mdfk_13
https://ift.tt/3hdPe6c
New post on Flutter Dev Google group:

Cannot simulate flutter app on emulator
I cannot run flutter app on emulator. Console msg showing "The screen cannot be set to the number of lines and columes" . After waiting a few minute, console shows the msg attached in screenshot.. can anyone help me?

June 09, 2020 at 11:41PM by Iftekar Alam Joy
https://ift.tt/3cRfRdA
New post on Flutter Dev Google group:

Reverse a data from Firestore Stream
Hello guys. I'm getting the Stream List from Firestore and I want to have it in 'reverse' order. I want to make the records in ListView.builder to appear in reverse mode (set reverse: true). In Firestore each document have a 'timestamp' field which is a Firestore timestamp type field. The

June 09, 2020 at 11:53PM by Igor Karelin
https://ift.tt/30pWiGJ
New post on /r/flutterdev subreddit:

Is having up-to-date plugins what will make Flutter succeed app-wise ?
So, when i first tried React Native i ended up in version missmatch hell between various packages (not using expo etc) and seeing flutter i was happy that many plugins was taken care of by google/flutter team. Upgrade version/IDE/doctor cli also seems great!Started out and did a camera app to find out callback on focus, flash etc was missing.I think in order to really gain adoption out in the industries common thinks like camera *needs* to be fully implemented/feature-wise ? even ionic does it ? I know that the framework is young, but do you agree that is should be a prio ?I would hate to see flutter being lost and forgotten having the best and smartest tooling/code out there but missing the needed plugins.

June 09, 2020 at 11:22PM by plundin
https://ift.tt/37guVjJ
New post on Flutter Dev Google group:

A non-null String must be provided to a Text widget.
A non-null String must be provided to a Text widget. 'package:flutter/src/widgets/text.dart': Failed assertion: line 298 pos 10: 'data != null'

June 10, 2020 at 02:21AM by Jose Paulo Reboucas Filho
https://ift.tt/3f2Ghuq
New post on Flutter Dev Google group:

call flutter app as a component
Hi all, is there anyway to call flutter app as a component ? like i have app A and app B, i want to implement the app C into app A and app B. once i have update or enhance the app C, the app C in the app A and app B will auto get the latest version for app C. is that possible ?

June 10, 2020 at 03:32AM by san jiek
https://ift.tt/3f8u8nJ
New post on /r/flutterdev subreddit:

call flutter app as a component
Hi all, is there anyway to call flutter app as a component ?like i have app A and app B, i want to implement the app C into app A and app B.once i have update or enhance the app C, the app C in the app A and app B will auto get the latest version for app C.is that possible ?or is that possible that making an app as a plugin ?

June 10, 2020 at 03:42AM by YeohSJ
https://ift.tt/3cNSKk8
New post on Flutter Dev Google group:

How to show 2 collumns in each row?
Hello, I want to design something like this picture [image: IMG-20200529-WA0004.jpg]