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

How to handle zero data in Stream Builder with firestore in Flutter
Hello, I have question to handle zero data. For example bellow is my code. I want to show No data image, when there is no data from my collection, with filter. How can I do that? Thanks​​child: Card(
child: StreamBuilder<QuerySnapshot>(
stream: Firestore.instance.collection('xxxx).where('issuer', isEqualTo: xxx).orderBy("createdAt", descending: true).snapshots(),
builder: (BuildContext context,
AsyncSnapshot<QuerySnapshot> snapshot) {
if (snapshot.hasError)
return new Text('Error: ${snapshot.error}');
switch (snapshot.connectionState) {
case ConnectionState.waiting:
return new Text('Loading...');
default:
return new Column(
children:
snapshot.data.documents
.map((DocumentSnapshot document) {
return Padding(
padding: const EdgeInsets.all(8.0),
child: Column(
children: <Widget>[
Container(
child: ListTile(onTap: (){
Navigator.pushNamed(context, 'xxxxx');
},
leading: Container(
decoration: BoxDecoration(
color: Colors.green,
borderRadius: new BorderRadius.all(Radius.circular(8.0))
),
width: 40,
height: 40,
child: document['status'] == 'pending' ? Icon(Icons.receipt, color: Colors.white,): Icon(Icons.account_balance_wallet, color: Colors.white)),
title: Text(xxxxx),
subtitle: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Text("${xxxx}"),
Text("status: ${xxxx}")],
),
trailing: Icon(Icons.chevron_right, color: document['xxxxx'] == true ? Colors.grey: Colors.blue ,)
),
),
Divider()
],
),
);
}).toList(),);}
},
)
),

May 01, 2019 at 08:26AM by mochfauz
http://bit.ly/2J8JlZ9
New post on /r/flutterdev subreddit:

frideos_kvprx | A Flutter package to easily store key/value pairs and stream based classes to update the UI accordingly.
https://pub.dartlang.org/packages/frideos_kvprx​It is just the very first version. Any suggestion or feedback is really appreciated.

May 02, 2019 at 12:27AM by frideosapps
http://bit.ly/2LjTSDC
New post on /r/flutterdev subreddit:

Notifications
Is anybody use Local and Push notifications simultaneously in the flutter app?

May 01, 2019 at 11:17PM by mrLisin
http://bit.ly/2J5ea0S
New post on /r/flutterdev subreddit:

Widget for implementing multiple nested navigators with their own route stacks.
http://bit.ly/2GytUYO

May 01, 2019 at 09:55PM by novah5
http://bit.ly/2WggyWo
New post on Flutter Dev Google group:

Speech Recognition from MP3 or WAV file?
I would like to record speech and then feed it to speech recognition library, or have the library stream the mic data so I can store it. I found this package: http://bit.ly/2skDMiM I dont see anything in the packae where I can feed it a wav file, or have it stream

May 02, 2019 at 06:36AM by cameron...@gmail.com
http://bit.ly/2WpvFx3
New post on Flutter Dev Google group:

Implementation of "flutter_webview_plugin".
Hi Can anyone help me on Implementation of "flutter_webview_plugin". To use webview delegate methods { shouldStart, startLoad, finishLoad, abortLoad } in fliutter. If any possibilities please provide me simple example. Thanks & Regards G Rajkumar iOS Developer

May 02, 2019 at 12:45PM by rajkumar.g...@gmail.com
http://bit.ly/2IX8gQn
New post on /r/flutterdev subreddit:

Created login page ui reference uplabs.
http://bit.ly/2DJekb4

May 02, 2019 at 12:33PM by follow2vivek
http://bit.ly/2WhUsTD
New post on /r/flutterdev subreddit:

Flutter representation of a Sales APP UI from Uplabs
http://bit.ly/2UY3HGQ

May 02, 2019 at 03:55PM by JideGuru
http://bit.ly/2UV7Fjy
New tweet from FlutterDev:

Are you wondering what’s happening on the 1st June? Look no further. Its #Hack19 - the first ever International Flutter Hackathon! Find out more on https://t.co/O0TlVAHOMr@FlutterComm @FlutterDev #Flutter— Flutter Community (@FlutterComm) May 2, 2019

May 02, 2019 at 05:48PM
http://twitter.com/FlutterDev/status/1123977689545809922
New post on /r/flutterdev subreddit:

Continuous integration and delivery for Flutter with Firebase
http://bit.ly/2ZNhmo1

May 02, 2019 at 05:49PM by Gigatronbot
http://bit.ly/2Y1qmnK
New post on Flutter Dev Google group:

examples of integrating GCP Vision API with Flutter?
Do we have any examples or documentation of integrating GCP AutoML Cloud or Edge models in a flutter app? In a Linux application, when making an online prediction using the Vision API or my trained AutoML model from an https request, a token is generated using the gcloud SDK from a service

May 02, 2019 at 10:16PM by Randall Rhea
http://bit.ly/2Wjwya9
New post on Flutter Dev Google group:

How to ensure background data transfer processes will stay alive
Hi, In two words, there is a device to collect data overnight. It is sending data to the app, which uploads it to server. What can I do to ensure the transfer processes will stay alive and won’t be killed by Android?

May 02, 2019 at 10:19PM by Michael Derzhavets
http://bit.ly/2DHtVHW
New post on /r/flutterdev subreddit:

Release Notes Flutter 1.5.4 · flutter/flutter Wiki · GitHub
http://bit.ly/2WjOykF

May 03, 2019 at 12:43AM by anticafe
http://bit.ly/2DLxihf