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

Any news of Flutter support Dart 2.6
So dart 2.6 is out. Is there any news about a flutter update supporting 2.6?

November 13, 2019 at 10:32PM by bsutto
https://ift.tt/350ke2x
New post on /r/flutterdev subreddit:

Serious performance issues with nested ListViews
Here is a video of the performance issue in question. It occurs when I am scrolling inside the second page:
https://imgur.com/gNomm1T
  I am trying to create a comment tree that is expandable when tapped, however the comment tree ends up running extremely poorly. I have been trying to fix this over the past few days, however I have been having very little success.In short, I have have a "comment" widget that holds a ListView containing the parent comment followed by a ListView which builds more of these "comment" widgets. It acts recursively and it functions exactly as I would hope, however I am facing performance issues.I have tried utilizing the profiler, however I cannot discover why this is performing so badly.This is a screenshot of the profiler during normal operations. Everything seems quite normal:
https://imgur.com/PFrfE0SThis is a screenshot of the profiler during normal operations. It appears to be skipping every other frame:
https://imgur.com/1FplLUEThe most bizzare part to me is that it says the application is running at 60.0FPS. Hopefully you could see this in the video, but when I am viewing the comment tree, the scrolling is very jittery.The entire project can be viewed on GitHub here, however it is undocumented and a little but of a mess so I will try to summarize the important parts below.
  submission_comment.dart - This contains the comment widget
 Widget build(BuildContext context) { // This ListView acts as a column. It was originally implemented as a column, but some people said ListViews perform better return ListView( shrinkWrap: true, physics: NeverScrollableScrollPhysics(), primary: false, children: <Widget>[ // To listen for tap events to trigger the comment to collapse/expand InkWell( onTap: () { setState(() { expanded = !expanded; }); }, // The comment item. Not really that important child: Container( width: double.infinity, decoration: BoxDecoration( border: Border( left: BorderSide( width: 4.0, color: depthColor[widget.comment.depth % depthColor.length], ), ), ), child: Padding( padding: EdgeInsets.all(12.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: <Widget>[ SubmissionCommentHeader(comment: widget.comment), SizedBox( height: 8.0, ), SubmissionCommentBody(comment: widget.comment), ], ), ), ), ), // This is where the 'recursion' occurs. If the parent comment has replies, a subsequent child comment tree will be built if (widget.comment.replies != null) Offstage( offstage: !expanded, child: Padding( padding: EdgeInsets.only(left: 4.0), child: SubmissionCommentTree( comments: widget.comment.replies, ), ), ), ], ); } 
 submission_comment_tree.dart
// Hopefully pretty explanatory. Builds a list of comments based on the comments provided to the widget. Widget build(BuildContext context) { return ListView.builder( physics: NeverScrollableScrollPhysics(), primary: false, shrinkWrap: true, itemCount: widget.comments.length, itemBuilder: (context, index) { if (widget.comments[index] is! Comment) { return null; } return SubmissionComment(comment: widget.comments[index]); }, ); } 
  Thank you very much for any help or insight regarding this problem!

November 14, 2019 at 12:50AM by banana_shavings
https://ift.tt/2XjR1Ny
New post on /r/flutterdev subreddit:

Recommedations of well explained flutter resources needed
I am a beginner Android (Java) developer who recently started Flutter and Dart for building mobile apps. I was working with the Udacity course < https://classroom.udacity.com/courses/ud905 >. The only one of its kind on Udacity but it was difficult because the codes were not explained and the quizzes were just frustrating. I personally feel it isn't structured for me to learn the language well. I want someone to recommend a good material. Thanks

November 14, 2019 at 12:24AM by lordvidex
https://ift.tt/2NIB8gn
New post on Flutter Dev Google group:

Flutter and firebase
Hello. I am a developer and I had opted for the Google framework (flutter) I made a chat application a year ago but I could not generate my application so I had to give up for another one framework said me please is it now possible to do it because I want to use it

November 14, 2019 at 07:26AM by Ange Armel
https://ift.tt/34Ziwyn
New post on /r/flutterdev subreddit:

Flutter Design Patterns: An overview of the Strategy design pattern and its implementation in Dart and Flutter
https://ift.tt/34SuycW

November 14, 2019 at 08:11AM by mkobuolys
https://ift.tt/2KzYinl
New post on /r/flutterdev subreddit:

Flutter Zomato App UI Code Tutorial - Part 1 #flutter
Simple Zomato Code UI in Flutter, With Dynamic Custom Drawer, Bottom Navigation Bar which will help you to understand more About Flutterhttps://youtu.be/AA8cFyJBUAU

November 14, 2019 at 06:39AM by sagarshende
https://ift.tt/371xupq
New post on /r/flutterdev subreddit:

Why People are Choosing Flutter for Cross-Platform App Development ?
Many of our new clients want their app development on flutter. Ever Wonder, Why? Is flutter going to be the future of the app dev industry.​Ps. We are working on Flutter Since it's beta version. Reach out to us. https://Citrusleaf.in

November 14, 2019 at 12:29PM by citrusleafin
https://ift.tt/350q5EX
New post on /r/flutterdev subreddit:

Modular Flutter Apps — Design and Considerations
https://ift.tt/2OeH8MH

November 14, 2019 at 11:01AM by Vanethos
https://ift.tt/2NJvg6t
New post on /r/flutterdev subreddit:

Payment options for Flutter application
Hi all!I'm a developer with a high background(Java, C#). And I learn Flutter for 6 months.I successfully created and posted to AppStore and Google Market several free applications. And now I want to post a new application with payment options. The free version of my application contains several features. If the user wants to unlock all the features, he can buy the full version.And here I'm stuck.Let's imagine: the user installs my application, he buys the full version. After some time, he removes my application. And after some time, he installs my application again. So, the question is: how to understand that this user already bought the full version of the application? Some external database? Firestore? How to understand that it is that user? How to identify that user? Add login and password? I think this is a bad idea because my application - is just two screens. This is a small application. Login\Password\Registration for small application? Hmmm.. I don't think so. Maybe I'm wrong?Also, how about different platforms? For example, the user has an IOS and android device. He bought the full application on IOS. How to understand this user can access the full version of the application on Android?

November 14, 2019 at 10:53AM by loothood
https://ift.tt/2qfRjbU
New post on /r/flutterdev subreddit:

Does anyone know what state management solution Google Stadia uses?
Just curious. It would be cool to know what google is currently using for production apps

November 14, 2019 at 01:29PM by Shazamo333
https://ift.tt/3500trL
New post on Flutter Dev Google group:

File Picker for Desktop
HI, any Desktop developers here? I need a file picker plugin that allows retrieving multiple file paths from the desktop OS. It should show a native file picker dialog. For macOS and Linux it is already possible with this plugin: https://ift.tt/2OfGdf2

November 14, 2019 at 02:32PM by Thomas Verbeek
https://ift.tt/2qNkOSt
New post on /r/flutterdev subreddit:

I wrote a blog post about using Flutter.
https://ift.tt/2CFAKsN

November 14, 2019 at 05:26PM by jaeder42
https://ift.tt/32GcmSk
New post on /r/flutterdev subreddit:

Tutorial
Does anyone know a tutorial about highlight text in a tts app? Please, post it on comments.

November 14, 2019 at 05:19PM by AlephC
https://ift.tt/2XcfC6T
New tweet from FlutterDev:

Dart ⚡️Flutter

Learn about how Flutter uses Dart to enable you to develop an app quickly and deploy it to multiple platforms and why Dart is the #1 fastest growing language on Github.

Watch here &rarr; https://t.co/CUr19WqJhe pic.twitter.com/OXEA59RUnW— Dart Language (@dart_lang) November 13, 2019

November 14, 2019 at 06:00PM
http://twitter.com/FlutterDev/status/1195023589147389953
New post on /r/flutterdev subreddit:

Awesome Flutter open-source Flutter Web UI. What do you think?
This is a prototype for an Awesome List UI made with Flutter WebLink: https://modulovalue.com/awesome_list_flutterweb_ui/#/Do you think this could become something useful? Would you subscribe to any category to receive updates if there was a way to do so?Repo on GitHub: https://github.com/modulovalue/awesome_list_flutterweb_ui
The data comes from https://github.com/Solido/awesome-flutter

November 14, 2019 at 07:07PM by modulovalue
https://ift.tt/32Jt1Et