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

Coding Android apps with Kotlin is such a time-consuming, frustrating endeavor of going through one tutorial / documentation after another. Would switching to Flutter solve this?
Or to put it in another way, how easy it is to find solutions to certain features I would like to implement in an Android app if i use Flutter? For example, I would like to embed a Youtube video but so far after 8 hours of searching for a way to do it I had no luck on Android.Also how easy it is to edit the UI design in Flutter? With the usual method using Kotlin / Java in Android Studio I can view the image of the app as I edit the XML file, giving it a kinda WYSIWYG feel.

January 13, 2019 at 11:03AM by notyourdude201
http://bit.ly/2SR65Pv
New post on /r/flutterdev subreddit:

Any idea on how to use the reference data type in firestore to load data from 2 collections?
A couple of thoughts were to use streambuilder twice, but with a reference type available, which is a string to a reference document in another collection, I thought there may be a way to load that data via the reference and access its resultant values. Thanks in advance to anyone that has an idea on this possible solution.

January 13, 2019 at 10:29AM by FoogYllis
http://bit.ly/2AHmMGc
New post on /r/flutterdev subreddit:

What's new in http 0.12.0+1?
I just noticed that http was updated 5 days ago, but I cannot see what has changed? No documentation and nothing I could see on Github (I'm probably just blind).Any ideas what changed?

January 13, 2019 at 11:28AM by mulderpf
http://bit.ly/2RJpzs5
New post on /r/flutterdev subreddit:

How would you make a top tab bar that only shows on one particular page?
I have an appBar with a bottomNavigationBar that takes you to a particular page. On one of the pages, I want to show a top TabBar, which can be used to swipe through different pages.So the basic structure of the app is like this:ScaffoldAppBarBody(the widget here changes depending on what's selected on the BottomNavigationBar)BottomNavigationBarSo I have one widget that is supposed to show when one of the buttons on the BottomNavigationBar is pressed.This is what I tried for that widget:
Widget build(BuildContext context) { return ListView( children: <Widget>[ DefaultTabController( length: 3, child: TabBar( tabs: <Widget>[ Tab(icon: Icon(Icons.directions_car)), Tab(icon: Icon(Icons.directions_transit)), Tab(icon: Icon(Icons.directions_bike)), ], ), ), Text("Another child under the tab bar") ], ); } 
However, the background of the TabBar is white, when my app's primary color is blue. Is this the best way to do this?Thanks.

January 13, 2019 at 11:08AM by themindstorm
http://bit.ly/2H6YF9q
New post on /r/flutterdev subreddit:

I'm a React Native dev and would like to make a comprehensive comparison between Flutter and RN
tldr;I will try every feature that's needed for a production-ready app and need your opinions/support as well.​I've been developing mobile apps with React Native for 2+ years. I'm pretty confident I tried almost all platform capabilities including native modules (i.e. native bridge).I've read a lot of articles recently, Upon my research I can listPros:+ Performance is better than RN – startup time is faster, button tap is more responsive+ UI output is more identical across platforms+ Has a good CLI supportCons:- New language for almost all developers – no web dev, ios or android dev uses Dart by default- CPU usage is (generally) higher – Skia has its own implementation which lacks of platform-specific native optimizations- Has a small community which means limited extensions and support – I think this won't be an issue in near future​Besides the pros and cons above, I would like to try flutter and share my experimentations so I made a list of features that you will need for a production-ready app. I list them under 3 headings:UI: Just visual qualityNative: Native performance and accessing native featuresBusiness Logic: Managing global and local states, CRUD operations as well
UIBuilding Pixel Perfect UI (Render of shadows, border-radius, color representation such as rgb, hsla, hex)Flex-box modelSafe Area ViewLine-height iOS vs AndroidImage styling (resizing and positioning)Text Input capacity (e.g. keyboard types, listening events)NativeCustom native module supportPush NotificationsIn-app PurchaseCapacity of Webview (Possible to listen every url and content)Websocket (socket.io) integrationApp size iOS vs androidPlaying Video/Audio filesAnimationsMapsBusiness LogicJSON encoding/decodingSeparation of stylingComplex navigations (nested tab and stacked screens)Handling HTTP requestsState management (BLoC vs Redux)Anything you want to add or think it's redundant? I'd like to hear your opinions as well.Also, I'm planning to write a post so I will definitely need your support on learning "flutter-way". Please share your contact info if you want to contribute.
ThanksPS: I've already seen this page

January 13, 2019 at 11:46AM by meanyack
http://bit.ly/2RN0i02
New post on /r/flutterdev subreddit:

Any good guides for cross platform ui development?
I just started using flutter, and so far I love it. However, I had a question. How can I make a single UI that looks "natural" in both iOS and Android? I.e., I wouldn't want to make a standard material app and put it on iOS, but I wouldn't want to make two separate UIs. Any help/links to guides would be appreciated. Thanks in advance!

January 13, 2019 at 03:31PM by ScreamingTaco45
http://bit.ly/2Rog42j
New post on /r/flutterdev subreddit:

FlutterForce — Week 9
http://bit.ly/2Ftkv4A

January 13, 2019 at 05:34PM by flutterist
http://bit.ly/2FpHwGw
New post on /r/flutterdev subreddit:

Payment app
I would like to develop an app to take electronic payments. I would like to do it using flutter. Can I get some advice as to what I should do research on and how difficult would it be?

January 13, 2019 at 06:54PM by afdal_khan
http://bit.ly/2ss5KHi
New post on /r/flutterdev subreddit:

What would be a good reference app teaching best practices?
Is it a standard practice in Dart to keep several classes as part of the same file? I keep seeing many Flutter apps, where everything seems to have been crunched in a single file. What would be a good reference application to have a look at?

January 13, 2019 at 06:19PM by preslavrachev
http://bit.ly/2ChN69Q
New post on Flutter Dev Google group:

What is the best way to take User Input for Date and Time?
I have recently started flutter and I am finding it really hard to create date-time input box for user. Below is what I am doing currently;- static var _year = ["2019", "2020", "2021", "2022", "2023", "2024", "2025"]; static var _month = ["01", "02", "03", "04", "05", "06", "07", "08", "09",

January 13, 2019 at 09:09PM by Rocky Sharma
http://bit.ly/2RuK10J
New post on /r/flutterdev subreddit:

[Help] SpriteWidget Tutorials/walkthroughs?
Hi all,I'm keen to jump on the Flutter bandwagon and have followed a few tutorials to get the basics down. While looking around, I discovered SpriteWidget, which could be used as a game engine.https://pub.dartlang.org/packages/spritewidget#-example-tab-I was attempting to create my own little game, using the space blast example here:Https://github.com/spritewidget/spaceblastBut I'm really struggling to get anything going. Ive googled, but there seems to be very little info out there on SpriteWidget beyond these few examples I've found. I was wondering if anyone knew of any resources that really walks you through what parts do, how best to layout code. I've tried to follow step by step how the space blast game works but am finding it very difficult. Any assistance would be greatly received. I wish I could write up some blog tutorials for this as I think it's really needed but have utterly failed.

January 13, 2019 at 10:49PM by Money_on_the_table
http://bit.ly/2H6tpHA
New post on Flutter Dev Google group:

SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
Hi there! Do you know how to fix the error E/SpannableStringBuilder( 5445): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length? It happens when I tap on a textfield and the keyboard fails to load. I've stripped down my widget tree and played with it but I'm still getting this error on all

January 13, 2019 at 11:57PM by Marcos Nobre
http://bit.ly/2D94JKB
New post on /r/flutterdev subreddit:

I created a repo for algorithms and data structures using dart for flutter. Just converted it from js repo. It will help you have a good interview.
http://bit.ly/2Fzw4Hg

January 14, 2019 at 02:56AM by thuutien2
http://bit.ly/2FpM93a