Flutter Heroes
25.6K subscribers
272 photos
2 videos
31.1K links
Download Telegram
Reddit: Your experience with the Material and base widgets in Flutter? Better than Android native?
Initially I was very enthusiastic, but after working with Flutter for several months, my perception changed a bit.First of all, it is great that Flutter is truly cross-platform. Apps look and behave exactly the same on Android and iOS. Development with the widget system and hot reload is fast. Awesome!When I started with Flutter, I read that it has one of the most sophisticated Material implementations out there, even beating Android native. This is true for some widgets, like the app bar, buttons, form controls and the ink system. Those are highly customizable and follow the spec very closely.But when it comes to more complex widgets and animations, Flutter lags far behind. In particular:Performance is not on par with Android nativeListView/ReorderableListView/AnimatedListare less powerful than Android'sRecyclerView, which is crucial for many applications. What makesRecyclerViewso special are its animations and the diffing algorithm (DiffUtil`) behind it. Things that do not exist in FlutterSortable list performance drops when there are too many itemsBottom sheets implementation is incompleteScrolling is always limited to one axis, no 2D scroll view.There is no way to define a tappable label for a checkbox or radio button.No vector drawables (flutter_svg and icon fonts fill the gap right now, but that's far from ideal)No way to draw dotted/dashed lines or bordersWhat's your experience?

Submitted August 17, 2018 at 01:59AM by boformer
via reddit https://ift.tt/2L02oST
Reddit: Creating Custom Form Fields in Flutter – SAUGO 360 – Medium
https://ift.tt/2MvFJ5K

Submitted August 17, 2018 at 03:25PM by aalhamali
via reddit https://ift.tt/2MuXvpM
Enable the PerformanceOverlay to visualize possible jank in your app.

Read more about how to interpret these graphs and what to do with the insights → https://t.co/w4xV9cgeSf #FlutterFriday pic.twitter.com/Sg7zx7GMwO— Flutter (@flutterio) August 17, 2018

August 17, 2018 at 08:19PM
via Twitter https://twitter.com/flutterio
GGroup: Running an "Example" app that's inside a package project, via VSCODE
I have a Flutter package with a Flutter example project inside it, structured like so: package |- example |- lib |- main.dart I set up the *launch.json *like so: { "name": "Flutter", "request": "launch", "type": "dart", "program"

Submitted August 17, 2018 at 10:52PM by Jeff Jorczak
via Flutter Dev https://ift.tt/2Bs6yDo
Reddit: Any open-source BLOC apps with unit tests?
I have made some Android apps for fun before, and now I am learning Flutter.Are there any good open-source apps which are using the BLoC architecture with unit tests?

Submitted August 18, 2018 at 01:53AM by dbltro
via reddit https://ift.tt/2OLiZw2
Reddit: Introducing my package: flutter_pagewise
Pagewise: A ListView and GridView variant that enables you to load entries one page (batch) at a timehttps://i.redd.it/vllaymf2jtg11.gifhttps://pub.dartlang.org/packages/flutter_pagewise

Submitted August 18, 2018 at 11:13AM by aalhamali
via reddit https://ift.tt/2MUrDIc
Reddit: Flutter: My FutureBuilder Keeps Firing! – SAUGO 360 – Medium
https://ift.tt/2ONNql7

Submitted August 19, 2018 at 02:42PM by aalhamali
via reddit https://ift.tt/2vUjDAo
GGroup: Common function for BoxDecoration
Hi, I am Implementing one page and there is "*BoxDecoration*" is repeat so I want to make one method which is return "*BoxDecoration*". Can any one suggest me how do I do that?

Submitted August 19, 2018 at 09:09PM by Sanjay Tejani
via Flutter Dev https://ift.tt/2Lc4ak8
Reddit: Flutter | Progress indicators plugin | Loaders on the way!
https://ift.tt/2nRPltO

Submitted August 19, 2018 at 11:03PM by Purple_Pizzazz
via reddit https://ift.tt/2Br3s2N
GGroup: How can you make a Row's content Fractionally Spaced
I tried: Row( children: [ FractionallySizedBox( widthFactor: 0.5, ), FractionallySizedBox( widthFactor: 0.25, ), FractionallySizedBox( widthFactor: 0.25, ), ] ) But I get an exception BoxConstraints forces an infinite width. so I am assuming FractionallySizedBox won't work inside a

Submitted August 20, 2018 at 02:11AM by Jeff Jorczak
via Flutter Dev https://ift.tt/2Plk6DP
Reddit: Share any mistake/pitfall you have faced when working with Flutter.
I am sure many of you have faced some sort of tricky bugs, or pitfall when working with Flutter. This will be a post to gather all the issue you've faced (and possibly solutions), such that others can avoid in the future. Correction of the misunderstanding are also welcome.So just let me start first.
1. `ListView.builder` will not stop building items unless you specify the `itemCount` to let it know when to stop.`StreamBuilder` always emit `null` as the data of the first snapshot, unless you provide `initialValue` for it.There are a 16.0 pixels of padding around the TextField, which cannot be removed due to Material design.

Submitted August 20, 2018 at 11:10AM by edwardwong608
via reddit https://ift.tt/2MrXtzR