Flutter Heroes
25.6K subscribers
272 photos
2 videos
31.1K links
Download Telegram
Reddit: Does anyone have an example of an autocomplete text field?
I would like to force a user to select something from an autocomplete text field that is prepopulated by a firebase DB list. I have searched all over and haven't found any examples. Any help?

Submitted May 24, 2018 at 06:02PM by ralphyb0b
via reddit https://ift.tt/2GNNxZw
Reddit: Breakdown — Flutter @i/o 2018 (Part One)
https://ift.tt/2koGqy9

Submitted May 24, 2018 at 05:59PM by Darkglow666
via reddit https://ift.tt/2GNNCfM
Reddit: Flutter from scratch – Input widgets.
https://ift.tt/2xch1Ru

Submitted May 24, 2018 at 06:35PM by rajayogan27
via reddit https://ift.tt/2IHL0WM
Reddit: What can't flutter do (limitations)?
This is not trolling, I swear. I used to do mobile development, and haven't looked into flutter yet. Sure I can easily find articles saying that flutter is the future. Is it great for any kind of app, or what kind of apps work best with flutter? Is there limitations -- things that are too far past the goals of flutter that would be better in Kotlin using Android SDK.

Submitted May 24, 2018 at 09:39PM by redskins78
via reddit https://ift.tt/2sbp8rF
Reddit: Flutter Layout: App demonstrating various Flutter layouts.
https://ift.tt/2GNoDJN

Submitted May 24, 2018 at 11:18PM by Purple_Pizzazz
via reddit https://ift.tt/2Lv5RKu
GGroup: Generic Image Icon Button?
Greetings, I'd like to know if there is a better way to create an icon button with an image, not using Material Design / Cupertino widgets. The way I typically do this in iOS is I define a comfortable "tap area", roughly a 35 - 50px square, that is greater than the size of the button icon.

Submitted May 25, 2018 at 06:32AM by Nicholas Manning
via Flutter Dev https://ift.tt/2IN5CJ2
Reddit: Is there a way to tell Flutter that two widgets are the same and shouldn't be updated?
I've read all (OK. Not all) about MVC (Model-View-Controller) and MVVM (Model-View-ViewModel).Both of these discuss how to keep state/Business Logic (The "Model") away from the presentation, and have small examples of code, where the Controller or ViewModel send messages (either directly or through the View) to the Model, and the Model sends messages to the ViewModel to repaint.I understand how this should be modeled where the model is small and is a single class can manage all the program's state.But what should I do if there's multiple levels of state. For example, your Model has complicated logic, let's say it's a multiplayer game. So it holds levels, enemies, etc, but also has to keep user information (username, userid, favorite line, gravatar, etc.). All of it (ok, not the userid) can change both inside the app and from outside (say on through the website), and updates have to show up inside the app.So the "simple" MV* logic wouldn't work (or would get crazy unwieldy) - I don't want the controller to hold 35 variables and maintain the state on its own.So, I break up the User into its own class:
class User { int id; String name; String gravatar; } 
And the gameplay logic into its own class
class GameLogic { int amountOfEnemies; int Level; } 
etc.Now my question is how should the inner classes communicate, and how should they be decoupled?For example, User has to update GameLogic. Should the GameLogic contain a pointer to the Model (dependency injection)?Yes, I know that Flutter doesn't work well with games. It's just an example.

Submitted May 25, 2018 at 09:07AM by allowthere
via reddit https://ift.tt/2J58552
GGroup: What is the best way to get current locale for android and iOS?
Hi, I have a Flutter Project and need to get user locale so, my first question is. * 1) What is the best way to get current locale for android and iOS?* I have a Flutter Project and with user locale it loads the supported internationalisation using json language file. So my second

Submitted May 25, 2018 at 10:56AM by Niyazi Toros
via Flutter Dev https://ift.tt/2shOYun
Reddit: [Question] How to connect to separate firebase project for debug builds on iOS
Hi There!So I'm trying to convert an app to flutter and have a live firebase project for my current project. But obviously I would like to connect to a different FB project for my debug builds. To do that for my Android flutter debug builds I did the following:Downloaded the google-services.json for the debug projectDumped this file in [flutter project]/android/app/src/debug folderUpdated my android project's build.gradle file buildTypes section to include debug { signingConfig signingConfigs.debug applicationIdSuffix ".debug" versionNameSuffix '-DEBUG' }Profit!But what is the equivalent of this on iOS? Where can I leave the GoogleService-Info.plist debug file in the xcode project so that it gets picked up during debug builds and how do I add a suffix to the app's Bundle Identifier? Or am I missing a way more obvious way to handle this? Thanks!

Submitted May 25, 2018 at 11:21AM by cuberob
via reddit https://ift.tt/2shS1mj
Reddit: prompts: Rich, simple, synchronous command-line prompt library for Dart.
https://ift.tt/2knknYG

Submitted May 25, 2018 at 02:52PM by Purple_Pizzazz
via reddit https://ift.tt/2x8Xwcx
Reddit: codable: A library for converting dynamic, structured data (JSON, YAML) into Dart types.
https://ift.tt/2Lwll18

Submitted May 25, 2018 at 03:34PM by Purple_Pizzazz
via reddit https://ift.tt/2J8EuI6
GGroup: Proposed changes to image loading & caching
Howdy, I've created a proposal for updates to the Image Loading and Image Caching systems in Flutter which address some notable issues such as: * Image cache size is based on # of images instead of memory. * image cache doesn't respond to memory pressure. * Image caching behavior isn't

Submitted May 25, 2018 at 08:24PM by Jonah Williams
via Flutter Dev https://ift.tt/2sbDGHS
GGroup: Flutter stack clicking through top object
I coded a menu in my flutter app, it is a rectangle that you can draw up from the bottom of the screen, and its in a stack with my main page, so it overlays the main page. But when i click on one of the Inkwells in my menu, it instead clicks on the same position on the Card below it(tested that

Submitted May 25, 2018 at 10:58PM by leo nx
via Flutter Dev https://ift.tt/2xk4RpU