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

Tips And Tricks to make Flutter Development easier
https://ift.tt/2pkzfNc

October 02, 2019 at 02:36PM by bimsina
https://ift.tt/2pd4ppw
New post on /r/flutterdev subreddit:

How Tonal achieves feature parity across iOS and Android using Flutter for their fitness tech companion app
https://ift.tt/2mVISRD

October 02, 2019 at 03:27PM by HHendrik
https://ift.tt/2plHkBd
New post on Flutter Dev Google group:

VS Code "More than one device connected"
When I installed Flutter I couldn't get anything running on the default emulator. I create 2 new ones. Now when I open VS Code and choose one of my new emulator and run my file I get: "More than one device connected". Can I delete the default emulator? If I run with 'flutter run -d deviceID' it

October 02, 2019 at 05:04PM by Simon Rasmussen
https://ift.tt/2nGpjgE
New post on /r/flutterdev subreddit:

#4 SizedBox Widget Flutter
https://youtu.be/-HkORuOnGr0

October 02, 2019 at 05:28PM by systechdevelopers
https://ift.tt/2nGUNmQ
New post on Flutter Dev Google group:

New Dart DevTools Release 0.1.8
DevTools 0.1.7 & 0.1.8 Release Notes Dart DevTools - A Suite of Performance Tools for Dart and Flutter General Updates - Fix a bug causing Flutter profile builds to show up as debug builds. - Fix analytics bug for apps running in profile mode by pulling the operating

October 02, 2019 at 06:26PM by Kenzie Schmoll
https://ift.tt/2nRd0xX
New post on /r/flutterdev subreddit:

IAP & Billing with Subscriptions: How do you all manage them?
Hi,I'm in the process of implementing In-App Purchases to add subscriptions (one at a yearly price, one at a monthly). The biggest roadblock I've stumbled upon is "How do I manage these?"What resources, patterns, or anything would you all recommend? The standard flutter examples seem like they're geared more towards consumable purchases rather than subscriptions.

October 02, 2019 at 07:18PM by TGameCo
https://ift.tt/2ouiIpr
New post on /r/flutterdev subreddit:

is this possible?
Hi,I'm fairly new to flutter, I'm just learning by practice and trying to do common task in flutter. I was wondering if this menu selection can be done in flutter, is there a widget to accomplish this?https://streamable.com/u6eolthank you.

October 02, 2019 at 08:46PM by overmachine
https://ift.tt/2owbiSL
New post on /r/flutterdev subreddit:

What naming convention do you use on files?
So I've been writing flutter apps now for a while, an seen a decent amount of code.The naming convention I often see on the filename is location_service.dart
So all lowercase, with an underscore separating the words of the class contained in the file.Coming from Java I would really like to use CamelCasing on the filename, so it would be LocationService.dart (same as the class name).Is there a reason for the use of lowercase names on the files in flutter apps? I was thinking maybe it had something with web compatibility going forward if you upload your build to a web server or something🀷‍♂️ Maybe someone could shed some light on this and maybe some pitfalls if any when using CamelCasing for filenames...What naming conventions do you use?

October 02, 2019 at 08:09PM by ChordFunc
https://ift.tt/2n5lbXa
New tweet from FlutterDev:

πŸ‡¨πŸ‡³ Google Developer Days China 2019 πŸ‡¨πŸ‡³@MartinAguinis shows us around the venue and speaks with attendees. Find out what the community is most excited about!

✨ Announced Flutter 1.9

✨ First onsite interview with Dash

✨ Web support has been merged into the main repository pic.twitter.com/xzRl4J57wdβ€” Flutter (@FlutterDev) October 2, 2019

October 02, 2019 at 09:55PM
http://twitter.com/FlutterDev/status/1179484979438510080
New tweet from FlutterDev:

πŸ‡¨πŸ‡³ Google Developer Days, China πŸ‡¨πŸ‡³ @MartinAguinis shows us around the venue and finds out what the community is most excited about!

✨ Announced Flutter 1.9
✨ First onsite interview with Dash
✨ Web support merged into the main repository

Watch here →https://t.co/COpcCc1bX8 pic.twitter.com/sIDglpT66Pβ€” Flutter (@FlutterDev) October 2, 2019

October 02, 2019 at 10:11PM
http://twitter.com/FlutterDev/status/1179489003814432768
New post on Flutter Dev Google group:

prompt
is it possible to to start your new flutter project without, opening your prompt in your visual studio code?

October 02, 2019 at 09:28PM by Katleho Motumi
https://ift.tt/2oF70rW
New post on /r/flutterdev subreddit:

Help - PIP mode similar to Youtube (Android)
I am trying to create an app in flutter which consists of:Home PageVideo Player PageFrom the Home Page, the user is able to navigate to the video player page. If the video is playing, when the user clicks the back button or swipe down from the video player, I want to minimize the video player to the bottom of the app (while continue playing) and navigate back to the homepage. This is how Youtube works right now.After research, I found two approaches to implement this, but each with its own problems.Use the Android PIP modeProblem:Android PIP mode works on activity basis. Flutter has only one activity. If I were to implement it this way, the entire app will be minimized when I invoke the PIP mode. I want the user to be able to navigate within the app while the video player is in PIP mode.Is there a way to have more than one activity in Flutter? If it is possible, then is it advisable to implement it this way?Create a persistent widgetCreate a widget that persists on navigation similar to this.Problem:I can't wrap my head on how to implement it this way. How do I animate the media player in the nested MaterialApp to minimize to the bottom of the app where the persistent widget is (because it's two separate Material Apps). How do I pass data between them?

October 03, 2019 at 05:32AM by A_Fatal_Dream
https://ift.tt/2oBKWPh
New post on /r/flutterdev subreddit:

How can I handle a snapshot where a field may be null?
I am using Flutter and FirestoreI get a snapshot to build a ListView then ListTilesThe app displays errors if a field does not exist for a documentRight now I get the snapshot, then I check if any of the fields are null, and if null I set a value of "N/A"Is there a better way to handle this?My code is belowreturn new ListView( children: snapshot.data.documents.map((DocumentSnapshot document) { var s_code = document['code']; var s_first_name = document['first_name']; var s_last_name = document['last_name']; var s_role = document['role']; var s_phone_number = document['phone_number']; var s_photo = document['photo']; var salesman = { "code": s_code, "first_name": s_first_name, "last_name": s_last_name, "role": s_role, "phone_number": s_phone_number, "photo": s_photo }; salesman.forEach((k, v) { if (v == null) { salesman[k] = "N/A"; } }); return new ListTile( onTap: () { //Go to the next screen with Navigator.push }, contentPadding: EdgeInsets.all(10.0), leading: CircleAvatar( backgroundImage: NetworkImage(s_photo), ), title: Text(salesman["code"]), subtitle: Column( mainAxisAlignment: MainAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start, children: <Widget>[ Text(toBeginningOfSentenceCase(s_first_name) + " " + toBeginningOfSentenceCase(s_last_name)), Text(s_phone_number), ], ), trailing: Icon(Icons.keyboard_arrow_right), ); }).toList(), );

October 03, 2019 at 06:51AM by purplegreencab
https://ift.tt/2nZMSAU