Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
Reddit: My first Flutter app in Google Play
Hello all,Today I published my first flutter app to Google Play, this was an existing Android app that I ported it to Flutter.This app is targetted for Indian users, helping them to find bank information, like the routing number (IFSC in India), Customer care numbers and other banking-related things.I completely open-sourced the app at https://github.com/pranayairan/flutterIfscYou can try out the app here https://play.google.com/store/apps/details?id=com.binarybricks.dexterapps.findbankifsccodes.Would love to get everyone's feedback on the app and code. I will be sharing my learnings in a blog post soon.

Submitted November 15, 2018 at 06:01PM by pranayairan
via reddit https://ift.tt/2OLVqmu
⏱️Time is ticking! ⏱️

But there’s no need to stress on #DevFest18. If you can’t make it in person this year, you can still join the party online Dec 11 -12 for #DevFestOnAir18!

Register here → https://t.co/b3Dovrcpf5 pic.twitter.com/SdG9qgxmRE— Google Developers (@googledevs) November 13, 2018

November 15, 2018 at 09:30PM
via Twitter https://twitter.com/flutterio
GGroup: How to load Flutter dropdown button based on json query?
In my flutter app I need to create 3 dropdown button. I have local Json file that has list of companies in different countries. *Queries:* 1. First dropdown button loads the company names (*bAd*). 2. Second dropdown button loads the company branches (*sAd*)that is selected in First

Submitted November 15, 2018 at 10:28PM by Niyazi Toros
via Flutter Dev https://ift.tt/2PYcUAF
Reddit: Setting up a Jenkins instance to run Flutter test using Docker
I wrote about my experiences of getting started with a Jenkins instance to run Flutter test, I created a docker image with Jenkins and Flutter installed. We are a very small company within Indiana University and we use Enterprise version of Github which makes it difficult to use other CI tools like Travis. For this reason I started looking into Jenkins. These posts contain steps I did to get Jenkins to run flutter test for any commits added to the git repo. This the first time I am wrote something and will greatly appreciate any feedback. Also, I really hope this helps someone.Part 1: https://medium.com/@sudhanshu0203/tales-from-a-n00b-ci-for-flutter-using-jenkins-and-docker-episode-1-8673bd1f578ePart 2: https://medium.com/@sudhanshu0203/tales-from-a-n00b-ci-for-flutter-using-jenkins-and-docker-episode-2-30ce894c93cc

Submitted November 15, 2018 at 10:17PM by ssiddh
via reddit https://ift.tt/2BaSoEL
GGroup: Go to URL, but back icon same tab that called the URL
Multitab app Using go to URL, then URL open in chrome (good) but back icon in chrome does not go back to same tab that called the URL. It goes back to the last tab in the tab set instead of the correct tab. Any ideas?

Submitted November 15, 2018 at 10:44PM by Jeff Morse
via Flutter Dev https://ift.tt/2K6Zb5g
GGroup: Flutter crashing, even on completely fresh build
So I am currently developing a cross-platform app using flutter, and a while ago I ran into a very weird problem. Flutter started crashing seemingly randomly, most of the times after a hot reload. It wasn't my app that was crashing, it was the framework (or dart language) itself, and with very

Submitted November 16, 2018 at 12:27AM by Magnus Eide-Fredriksen
via Flutter Dev https://ift.tt/2zd1VJT
Dart 2.1 is out, featuring int-to-double conversion, improved mixins, better type errors, and improved perf! #dartlang https://t.co/MgXuzIk0me— Michael Thomsen (@MiSvTh) November 15, 2018

November 15, 2018 at 11:00PM
via Twitter https://twitter.com/flutterio
#FlutterLive is almost here! 🎉🎊

Read @MartinAguinis' post for more info on how to watch, what to expect and how to join the celebration. And don't forget to sign up for livestream updates at https://t.co/WqaEziHgSU!

Read the post here ↓ https://t.co/uQUS5r70SG— Flutter (@flutterio) November 16, 2018

November 16, 2018 at 01:09AM
via Twitter https://twitter.com/flutterio
GGroup: How do I delay the 1st 15 milliseconds of Nima Animation using Flutter
Hi People, I have been trying to add NimaAnimation to my project but unfortunately my Animation is such that it comes from outside the screen to the center of the screen. And for Nima Animation, it first renders the image and then starts the animation. Is there a way that I can skip the 1st 15

Submitted November 16, 2018 at 10:20AM by Karandeep Singh Saluja
via Flutter Dev https://ift.tt/2Fpax5H
Reddit: <b>Flutter authentication: App not signing out</b>
Hi everyone, i am a newbie flutter and coder in general. With the code below I am able to successfully sign in to the app but i am unable to sign out. What am I missing//Home page<strong>import</strong> 'package:flutter/material.dart';
<strong>import</strong> 'login_page.dart';
<strong>import</strong> 'auth.dart';
<strong>import</strong> 'home_page.dart';
<strong>class</strong> RootPage <strong>extends</strong> StatefulWidget {
<strong>final</strong> BaseAuth auth;
RootPage({<strong>this</strong>.auth});
@override
State<StatefulWidget> createState() => <strong>new</strong> _RootPageState();
}<strong>enum</strong> AuthStatus { notSignedIn, signedIn }<strong>class</strong> _RootPageState <strong>extends</strong> State<RootPage> {
AuthStatus authStatus = AuthStatus.notSignedIn;
@override
<strong>void</strong> initState() {
<strong>super</strong>.initState();
widget.auth.currentUser().then((userId) {
setState(() {
authStatus =
userId == <strong>null</strong> ? AuthStatus.notSignedIn : AuthStatus.signedIn;
});
});
}<strong>void</strong> _signedIn() {
setState(() {
authStatus = AuthStatus.signedIn;
});
}<strong>void</strong> _signedOut() {
setState(() {
authStatus = AuthStatus.notSignedIn;
});
}@override
Widget build(BuildContext context) {
<strong>switch</strong> (authStatus) {
<strong>case</strong> AuthStatus.notSignedIn:
<strong>return new</strong> LoginPage(
auth: widget.auth,
onSignedIn: _signedIn,
);
<strong>case</strong> AuthStatus.signedIn:
<strong>return new</strong> HomePage(
auth: widget.auth,
onSignedOut: _signedOut,
);
}
}
}&#8203;//Login Page<strong>import</strong> 'package:flutter/material.dart';
<strong>import</strong> 'auth.dart';
<strong>class</strong> LoginPage <strong>extends</strong> StatefulWidget {
<strong>final</strong> BaseAuth auth;
<strong>final</strong> VoidCallback onSignedIn;
LoginPage({<strong>this</strong>.auth, <strong>this</strong>.onSignedIn});
@override
State<StatefulWidget> createState() => <strong>new</strong> _LoginPageState();
}<strong>class</strong> _LoginPageState <strong>extends</strong> State<LoginPage> {
<strong>final</strong> formKey = <strong>new</strong> GlobalKey<FormState>();
String _email;
String _password;
bool validateAndSave() {
<strong>final</strong> form = formKey.currentState;
<strong>if</strong> (form.validate()) {
form.save();
<strong>return true</strong>;
} <strong>else</strong> {
<strong>return false</strong>;
}
}<strong>void</strong> validateAndSubmit() <strong>async</strong> {
<strong>if</strong> (validateAndSave()) {
<strong>try</strong> {
String userId =
<strong>await</strong> widget.auth.singInWithEmailAndPassword(_email, _password);
print('Signed in: $userId');
widget.onSignedIn();
} <strong>catch</strong> (e) {
print('Error: $e');
}
}
}@override
Widget build(BuildContext context) {
<strong>return new</strong> Scaffold(
appBar: <strong>new</strong> AppBar(
title: <strong>new</strong> Text('Flutter login'),
),
body: <strong>new</strong> Container(
padding: EdgeInsets.all(16.0),
child: <strong>new</strong> Form(
key: formKey,
child: <strong>new</strong> Column(
// crossAxisAlignment: CrossAxisAlignment.stretch,
children: <Widget>[
<strong>new</strong> TextFormField(
decoration: <strong>new</strong> InputDecoration(labelText: 'Email'),
validator: (value) =>
value.isEmpty ? 'Email can\'t be empty' : <strong>null</strong>,
onSaved: (value) => _email = value,
),
<strong>new</strong> TextFormField(
decoration: <strong>new</strong> InputDecoration(labelText: 'Password'),
obscureText: <strong>true</strong>,
validator: (value) =>
value.isEmpty ? 'Password can\'t be empty' : <strong>null</strong>,
onSaved: (value) => _password = value,
),
<strong>new</strong> RaisedButton(
child: <strong>new</strong> Text(
'Login',
style: <strong>new</strong> TextStyle(fontSize: 20.0),
),
onPressed: validateAndSubmit,
)
],
)),
));
}
}//Authentication page<strong>import</strong> 'dart:async';
<strong>import</strong> 'package:firebase_aut…
Reddit: reassemble() best practices?
What are your best practices around reassembling the state for various widgets, if you'd like the state backing your build function to refresh on hot-reload?For example, I have a stateful widget that manages a TextEditingController and FocusNode and a ChatBloc that has some state rendered as part of a StreamBuilder in build(). When I hot-reload, I'd like to dispose and then re-initialize the ChatBloc (it's instance-specific) as well as dismiss the keyboard, but I run into interesting side-effects and weird state when that happens, especially around the VM complaining that a TextEditingController and FocusNode were still used after they were disposed and recreated within reassemble.Mostly I'm looking for generalized patterns, not specifically related to blocs. Ideas?

Submitted November 16, 2018 at 01:52PM by Shrugs_
via reddit https://ift.tt/2K8EN3G
Reddit: Switching Widgets…
https://ift.tt/2K8Pjbd

Submitted November 16, 2018 at 09:42PM by Elixane
via reddit https://ift.tt/2zcP8au
GGroup: BREAKING CHANGE - FlutterViewController will not load default splash screen automatically
flutter/engine#6883 - FlutterViewController will no longer load your app's splash screen by default. The implementation of that has been moved to a new method loadDefaultSplashScreenView. The existing implementation made it challenging to avoid

Submitted November 16, 2018 at 09:47PM by Dan Field
via Flutter Dev https://ift.tt/2OSsCsE
GGroup: #hamcam
Hello . I am a new on flutter. I was really impressed by the #hamcam function in the hamilton application and I would like some indication of how to reproduce it in a flutter application

Submitted November 17, 2018 at 02:37PM by Seydou Gnali Ousman
via Flutter Dev https://ift.tt/2DsLz2I
GGroup: firebase example for flutter with multiple records
Hi developers, nice to meet you, I was trying flutter and firebase lately, and i wonder does anyone has example for flutter and firebase app, that display Firebase database with 3 or more fields (example : Name, Address, and phone numbers). and can someone kindly tells why and what does

Submitted November 17, 2018 at 02:46PM by Bambang Soetanto
via Flutter Dev https://ift.tt/2zeBqDS
GGroup: Problem running the fluter app
Hi, Devs I am facing trouble running the flutter app in visual studio code . Whenever . I run the app in visual studio code in the terminal (vs code) a dialogue is displayed "Initializing gradle......" and it takes forever .I am stucked here It takes so long that i close it . Please help me

Submitted November 17, 2018 at 04:40PM by Piyus
via Flutter Dev https://ift.tt/2BdgEWB