Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
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
Reddit: Any idea how to measure the growth of the Flutter community?
Would be an interesting topic or?
Flutter is definitely picking up, but how to measure the growth of the community / developers using it best?

Submitted August 20, 2018 at 12:48PM by ChristBKK
via reddit https://ift.tt/2BuDECQ
GGroup: show dialog box or proceed to screen
Hi all, I want to return I have this code and I want to return a dialog if it returns an error or proceed to the camera screen if no error is returned, I want the dialog box to indicate the error being returned. any help please? Thanks in advance

Submitted August 20, 2018 at 08:17PM by andrew pande
via Flutter Dev https://ift.tt/2ORLgBb
Reddit: To Flutter or not to Flutter
Do you think that, given its current status, writing an app like Adobe Photoexpress/Snapseed and the like is crazy? Flutter has a new issue every hour, lacks an official in app purchase library, is in its beta version and things could change fast. I have already a photo editor app with millions of downloads and in app purchase up and working (for Android), but i would like to learn a multi-platform approach to mobile development, something that will let me integrate C/C++ code.

Submitted August 20, 2018 at 10:21PM by lukeboh
via reddit https://ift.tt/2MDEwJO
Reddit: Cast support?
A quick Google looks as though there's no support for casting to Chromecasts using Flutter. Has anyone been able to get this to work?

Submitted August 21, 2018 at 04:30AM by fk122
via reddit https://ift.tt/2MDmQxQ
GGroup: Flutter Scratch card
https://ift.tt/2LbAV0K ---- Can anyone have any idea how to implement the same in the flutter?

Submitted August 21, 2018 at 06:47AM by rishabh singh
via Flutter Dev https://ift.tt/2MCyN6N
GGroup: open endDrawer with IconButton
import 'package:firebase_example/Ui/Books.dart'; import 'package:flutter/material.dart'; class Home extends StatefulWidget { @override _HomeState createState() => _HomeState(); } class _HomeState extends State { final GlobalKey _drawerKey = GlobalKey(); @override Widget

Submitted August 21, 2018 at 09:14AM by Mohammad Meshkani
via Flutter Dev https://ift.tt/2nTvASn
Reddit: Is Flutter ready for
I am starting a new project that has Uber-like requirements (think real-time location tracking rather than ride hailing, but similar data profiles). I know that Flutter has map views, but is it ready for these types of applications? Would I be better served going native? I would be working alone for a large portion of the project. I have a bit of experience in Flutter, and quite extensive web development experience. I have little to no native android experience.I have been impressed by Flutter's offering, but I do not have enough information to make this call by myself yet.Any advice would be greatly appreciated!EDIT: sorry for the partial post title!

Submitted August 21, 2018 at 10:18AM by TheUndead96
via reddit https://ift.tt/2OT1pWR
Reddit: Check out these animated loaders - https://ift.tt/2N22A5R
https://ift.tt/2N8ljwV

Submitted August 21, 2018 at 12:02PM by samarthagarwal
via reddit https://ift.tt/2PsKY51
Reddit: I kept seeing 'Neonate' in the animation tutorial
Yet it didn't exist in my flutter installation. Even in the github source it said Neonate, and I couldn't find Tween anywhere. Thought I was going crazy!Turns out the 'Millennials to Snake People' extension also replaces Tween with Neonate. Doesn't help that I had no idea what neonate was... (It's a new-born mammal)

Submitted August 21, 2018 at 11:41AM by l_u_c_a_s
via reddit https://ift.tt/2ME8lKa
GGroup: How to specify Dart >=2.0.0 ?
In *pubspec.yaml* I have this environment with the intent to have at least Dart 2 up to Dart 3: environment: sdk: ">=2.0.0 <3.0.0" But on publish, I get this error: STDERR: ERR : The current Dart SDK version is 2.0.0-dev.63.0.flutter-4c9689c1d2. | | Because card_settings requires SDK

Submitted August 21, 2018 at 03:24PM by Jeff Jorczak
via Flutter Dev https://ift.tt/2Mtn8Ig
GGroup: how use zipped byte[] to reconstruct the icon
Hello! I want to use the *launcher_assist* package. In this the Icon-Data is stored as*:* JAVA Code: BitmapDrawable icon = (BitmapDrawable) app.loadIcon(manager); byte[] iconData = *convertToBytes*(icon.getBitmap(), Bitmap.CompressFormat.PNG, 100);

Submitted August 21, 2018 at 03:25PM by Erhy
via Flutter Dev https://ift.tt/2nViPXq
Reddit: Question about cloud_firestore
Hi all, I am really new to Flutter and Dart and so far I am currently implementing the BLoC pattern on a simple app which connects to a Firestore database. I was looking into this link (order-limit-data firrestore - google) trying to figure out how to order or limit results from Firestore. But can't seem to see any samples for Dart. Is this supported? Or are there workarounds for this? Thank you for the help.EDIT: Currently looking at snapshot().take(..) which I assume is similar to limit.

Submitted August 21, 2018 at 03:46PM by meeraclekuro
via reddit https://ift.tt/2MIMWj4
GGroup: How to run 'pana' prior to publishing a package?
I have installed the latest pana components via 'pub global activate pana'. I then run this in the root of my project to analyze my package: pana . --verbosity compact And almost immediately I get an error: INFO Running `/Users/jeff/SDKs/flutter/bin/cache/dart-sdk/bin/dart --version`...

Submitted August 21, 2018 at 04:35PM by Jeff Jorczak
via Flutter Dev https://ift.tt/2ByDWIU
GGroup: Firebase - Google Play services out of date. Requires 12451000 but found 12221480
Hi I'm having this error with google play services in my emulator. Any idea what's failing? What does this mean? W/DynamiteModule( 5033): Local module descriptor class for > com.google.firebase.auth not found. > W/GooglePlayServicesUtil( 5033): Google Play services out of date. > Requires

Submitted August 21, 2018 at 05:21PM by Sebastian Pagni
via Flutter Dev https://ift.tt/2N6hoAA
Reddit: Flutter from Scratch - ValueChange Animations
https://ift.tt/2wh5f4D

Submitted August 21, 2018 at 05:03PM by rajayogan27
via reddit https://ift.tt/2MtTEdz
Expand your knowledge with the latest #WidgetoftheWeek! The Expanded widget instructs children of rows and columns to fill the available space. Wrap the child in an Expanded widget and watch it grow!

Click below to watch all the tips &darr; pic.twitter.com/FrxhSa8pkz— Flutter (@flutterio) August 21, 2018

August 21, 2018 at 07:48PM
via Twitter https://twitter.com/flutterio
Reddit: Flutter with AngularDart Codeshare examples and how to articles?
Are there any good Flutter and AngularDart code sharing examples that use BLOC and RxDart for codesharing? I am having trouble finding articles on how to set this up. Any suggestions?

Submitted August 21, 2018 at 08:59PM by mtbikeraz
via reddit https://ift.tt/2nY8EBG