Flutter Heroes
25.8K subscribers
272 photos
2 videos
31.1K links
Download Telegram
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
New post on Flutter Dev Google group:

firebase_authentication - Cannot query users by their username
I'm new to flutter and attempting to add firebase_auth GoogleSignIn to my app. I've followed the instructions of about 5 samples I've found online but keep getting the error when I run the app: E/GraphResponse( 8321): {HttpStatus: 404, errorCode: 803, subErrorCode: -1, errorType: OAuthException,

February 23, 2019 at 12:35PM by Noel Austin
https://ift.tt/2VhHN26
New post on Flutter Dev Google group:

Get size.center of the screen.
Hi everyone, I am trying to get the center of the screen when I initialize a class. I have gotten that using CustomPainter like this: ``class IndoorMapPinter extends CustomPainter { @override void paint(Canvas canvas, Size size) { final Offset center = size.center(Offset.zero);``` But I

February 23, 2019 at 03:22PM by Santiago Taco
https://ift.tt/2TdFCPz
New post on /r/flutterdev subreddit:

Why Flutter went with Dart, and not Swift/Kotlin?
Don’t me wrong, Dart looks good; But, Swift or Kotlin are both open source, have more features, and already known in the mobile industry.

February 23, 2019 at 02:28PM by KingAntwelm
https://ift.tt/2EqIPDl
New post on /r/flutterdev subreddit:

Is it possible to put check-boxes on a zoomable image?
So just as the title says, but to add on that, once a box is checked (which should have a predefined co-ordinate) the data is sent over to a server. The image would be a simple floorplan. So is that doable in flutter?

February 23, 2019 at 03:52PM by doesmylifeevenmatter
https://ift.tt/2XkA8ll
New post on Flutter Dev Google group:

Maps like that of Uber
Hello Developers, I am actually developing an app at the moment and I need help as to how i can create a box more like that of what Uber use in their app to basically hold a gps location of what a user chooses. Any help?

February 23, 2019 at 05:42PM by Joshua Hlordze
https://ift.tt/2TdHOGW
New post on /r/flutterdev subreddit:

1kb JS demos [inspiration for flutter-create]
https://js1k.com/

February 23, 2019 at 10:30PM by Osamito
https://ift.tt/2U5ekYW
New post on /r/flutterdev subreddit:

[Flutter Challenge]Custom ListView
Hello Pros,Challenge :-List with custom view -List item with button to add item in the listEasy, right ??

February 24, 2019 at 11:14AM by deepss1
https://ift.tt/2E2qH0U
New post on /r/flutterdev subreddit:

#Flutter Tutorial for Beginners - Build iOS and Android Apps with Google's Flutter & Dart
https://youtu.be/qBhNpE7PxFg

February 24, 2019 at 10:57AM by professionaltut143
https://ift.tt/2Ebtlln
New post on /r/flutterdev subreddit:

FlutterForce — Week 15
https://ift.tt/2tBY8CY

February 24, 2019 at 10:52AM by flutterist
https://ift.tt/2T0JLHz