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

How to incorporate StreamBuilder into a SliverList?
I have a StreamBuilder to fetch data, then passing it onto a ListView.builder to populate the list. Now I want to add a SliverAppBar to have a collapsing AppBar as I scroll down the list.How can I incorporate my listview builder into a CustomScrollView sliver? Or do I convert my ListView.builder into a SliverListView? How do I accomplish this?

February 22, 2019 at 03:24PM by rxddit_
https://ift.tt/2twXRB5
New tweet from flutterio:

🎊The Flutter YouTube channel is here! 🎊

Head on over to see all the content for both new and experienced Flutter developers, including your favorites shows like the #BoringShow, #WidgetoftheWeek, and more! ▶️

Subscribe now ↓ pic.twitter.com/I2vIHiJtS9— Flutter (@flutterio) February 22, 2019

February 22, 2019 at 07:00PM
http://twitter.com/flutterio/status/1099005905234841600
New post on Flutter Dev Google group:

Problem to Add Firebase to Flutter app
Hello to everyone. I just have studed this codelab Try the Firebase for Flutter codelab &rarr; http://bit.ly/2JdRFIz < https://www.youtube.com/redirect?q=http%3A%2F%2Fbit.ly%2F2JdRFIz&event=video_description&v=DqJ_KjFzL9I&redir_token=ULIgDbJakYdszZGovoMJ6c5tu2F8MTU1MDkzOTI2NUAxNTUwODUyODY1> and i

February 22, 2019 at 07:35PM by Ivan Mojica
https://ift.tt/2T9xShr
New post on /r/flutterdev subreddit:

When is the next stable release planned for?
So many new releases here https://github.com/flutter/flutter/wiki/Changelog but none seem to be pushed to stable since v1.0. Do we need to work on dev Branch to get access to these new features?

February 22, 2019 at 07:32PM by flashaintdead
https://ift.tt/2VcAXuH
New post on Flutter Dev Google group:

Flutter Youtube Channel!
Happy Friday Flutter devs! I have great news to share! Flutter has its own Youtube channel, you will get to see great Flutter videos as well as so many community members there, don't forget to subscribe! https://ift.tt/2T8HVU6 🎉

February 22, 2019 at 08:21PM by Nilay Yener
https://ift.tt/2Iyi1oD
New post on /r/flutterdev subreddit:

GitLab CI exmaple
hi do we have good exmple of CI flutter build ?​is below good to take ..​# A functional, but probably terrible, example of GitLab CI for Flutter
image: cirrusci/flutterbefore_script:
- flutter doctor
- flutter channel stable
- flutter packages getstages:
- test
- buildunitTests:
stage: test
script:
- flutter test test/widget_test.dartbuild:
stage: build
script:
- flutter build apk
artifacts:
when: on_success
paths:
- build/app/outputs/apk/release/app-release.apk

February 22, 2019 at 08:30PM by Kotaibaw
https://ift.tt/2SRUkfG
New post on Flutter Dev Google group:

Flutter Create - Code readability
Hi I've shared the Flutter Create initiative with some people and the general feedback is quite exciting. Some people asked me a question that I share here, because after looking at the rules I have not find an exact answer. How readable should the code be? Being size a limit, minimizing code

February 22, 2019 at 09:12PM by Sergi Martínez
https://ift.tt/2Is9xiH
New post on /r/flutterdev subreddit:

Why isn't onTap() being called?
Hey guys, I'm having an issue where the ListTile method onTap() is not being called.Here I have some simple code that you can copy and paste to replicate the problem? Any ideas on howto make the ListTile call onTap() ?​
import 'package:flutter/material.dart'; void main() { runApp( MaterialApp( debugShowCheckedModeBanner: false, home: Scaffold( body: MyList(), ) ), ); } class MyList extends StatelessWidget { @override Widget build(BuildContext context) { return ListWheelScrollView( children: <Widget>[ carMenuItem, boatMenuItem, ], itemExtent: 80, ); } } Widget carMenuItem = Container( child: ListTile( enabled: true, onTap: () { print('Hello World'); }, leading: CircleAvatar( radius: 30, backgroundColor: Color.fromRGBO(232, 93, 117, 1), child: Icon( Icons.directions_car, color: Colors.white, ), ), title: Text( 'Car', style: TextStyle( fontFamily: 'Copperplate', fontSize: 30, ), ), ), ); Widget boatMenuItem = Container( child: ListTile( enabled: true, onTap: () { print('Hello World'); }, leading: CircleAvatar( radius: 30, backgroundColor: Color.fromRGBO(232, 93, 117, 1), child: Icon( Icons.directions_boat, color: Colors.white, ), ), title: Text( 'boat', style: TextStyle( fontFamily: 'Copperplate', fontSize: 30, ), ), ), ); 


February 22, 2019 at 09:46PM by zapoJMR
https://ift.tt/2GFJrY3
New post on Flutter Dev Google group:

Triggers tips with firebase
Hi people, I have two apps developed with flutter. The first application has the functions of 'pause', 'resume' and 'stop' a certain process, so, i write registers in firebase realtime database with this format. [image: json example.png] The second application is where the certain process is

February 22, 2019 at 11:29PM by Misael Astorga
https://ift.tt/2NmBS97
New post on /r/flutterdev subreddit:

How to parse an array of strings in flutter?
I need to parse an array of strings that is not necessarily valid JSON.I am using the HTTP client and getting back the following response body from the API. How would I do this in flutter?​
[ "Feb 22, 2019 20:16:04 UTC - TestProperty, Elevator 1001: The monitoring device on the elevator experienced a power loss and just restarted.", "Feb 22, 2019 20:12:56 UTC - TestProperty, Elevator 1001: The monitoring device on the elevator experienced a power loss and just restarted.", "Feb 22, 2019 19:20:33 UTC - TestProperty, Elevator 1001: The monitoring device on the elevator experienced a power loss and just restarted.", "Feb 22, 2019 19:17:46 UTC - TestProperty, Elevator 1003: The monitoring device on the elevator experienced a power loss and just restarted.", "Feb 22, 2019 18:35:36 UTC - TestProperty, Elevator 1001: The monitoring device on the elevator experienced a power loss and just restarted.", "Feb 22, 2019 18:34:59 UTC - TestProperty, Elevator 1001: The monitoring device on the elevator experienced a power loss and just restarted.", "Feb 22, 2019 18:34:59 UTC - TestProperty, Elevator 1001: The monitoring device on the elevator experienced a power loss and just restarted.", "Feb 22, 2019 03:02:08 UTC - TestProperty, Elevator 1001: LiftAI is continuing to watch for any activity on this elevator, nothing during the past 15 minutes", "Feb 22, 2019 02:47:04 UTC - TestProperty, Elevator 1001: LiftAI is continuing to watch for any activity on this elevator, nothing during the past 15 minutes", "Feb 22, 2019 02:31:59 UTC - TestProperty, Elevator 1001: LiftAI is continuing to watch for any activity on this elevator, nothing during the past 15 minutes", "Feb 22, 2019 02:16:54 UTC - TestProperty, Elevator 1001: LiftAI is continuing to watch for any activity on this elevator, nothing during the past 15 minutes", "Feb 22, 2019 02:01:49 UTC - TestProperty, Elevator 1001: LiftAI is continuing to watch for any activity on this elevator, nothing during the past 15 minutes", "Feb 22, 2019 01:46:44 UTC - TestProperty, Elevator 1001: LiftAI is continuing to watch for any activity on this elevator, nothing during the past 15 minutes", "Feb 22, 2019 01:31:39 UTC - TestProperty, Elevator 1001: LiftAI is continuing to watch for any activity on this elevator, nothing during the past 15 minutes", "Feb 22, 2019 01:16:34 UTC - TestProperty, Elevator 1001: Elevator just ended a trip up with a duration of 8 seconds", "Feb 22, 2019 01:14:47 UTC - TestProperty, Elevator 1001: LiftAI is now watching the elevator, which has never recorded a trip", "Feb 22, 2019 01:11:33 UTC - TestProperty, Elevator 1001: LiftAI is now watching the elevator, which has never recorded a trip" ] 


February 23, 2019 at 02:10AM by Dazza5000
https://ift.tt/2IwKN9l
New post on /r/flutterdev subreddit:

A problematic date with camera, permissions and image_picker
So i had to urgently add a image capture an selection from gallery feature to my app in flutter and i tried both image_picker and camera packages. I followed the official example codes for both and while the first one gave no when i clicked the button to open the camera the latter package stated that i wasn't granted the MediaRecoderCamera permission and upon my findings i came to know that on android permissions are handled by the packages themselves. I thought no worries, lets ask for the permissions ourselves , so i reverted to using packages like simple_permission and permission but alas they too generated an error saying that they conflict with existing permission routine. I had to finally switch to android native after a whole day of finding solution. Does anyone know what caused the issue? Note: i only tested my app on android, but added the key strings for permissions on info.plist Thank-you

February 23, 2019 at 05:01AM by fardeen9983
https://ift.tt/2E3YZAX
New post on Flutter Dev Google group:

Change drawer SCRIM color
Hello friends, someone can help with this? i'm trying to change the drawer scrim color like this picture based in Posivibes Material Theme i want to change the traditional gray color with my custom color. [image: drawer.png]

February 23, 2019 at 07:31AM by Adolfo Cueto
https://ift.tt/2Eoup6r
New post on /r/flutterdev subreddit:

Shared preferences getting deleted when updating app even if the update contain style change
Shared preferences getting deleted when updating app even if the update contain style change and workaround for it why it's getting deleted?

February 23, 2019 at 10:20AM by Kotaibaw
https://ift.tt/2NpkBMl