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
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
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
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
November 15, 2018 at 11:00PM
via Twitter https://twitter.com/flutterio
Twitter
#dartlang hashtag on Twitter
See Tweets about #dartlang on Twitter. See what people are saying and join the conversation.
#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
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
Twitter
#flutterlive hashtag on Twitter
14m ago @flutterio tweeted: "See what's new since #FlutterLive! In th.." - read what others are saying and join the conversation.
Reddit: My First Flutter Post - Flutter App Testing over Network sans USB Connection
https://ift.tt/2Th4eUL
Submitted November 16, 2018 at 06:21AM by PurusR
via reddit https://ift.tt/2zY55kB
https://ift.tt/2Th4eUL
Submitted November 16, 2018 at 06:21AM by PurusR
via reddit https://ift.tt/2zY55kB
Medium
Flutter App Testing over Network sans USB Connection
You can run or test your Flutter application either in a real device or on a emulated device. I personally prefer running in a real device…
Reddit: Google hosting Flutter Live on Dec 4 for updates on new way to build mobile apps
https://ift.tt/2Tbbfqh
Submitted November 16, 2018 at 05:51AM by etca2z
via reddit https://ift.tt/2zWYd6Z
https://ift.tt/2Tbbfqh
Submitted November 16, 2018 at 05:51AM by etca2z
via reddit https://ift.tt/2zWYd6Z
Medium
Google hosting Flutter Live on Dec 4 for updates on new way to build mobile apps
Tl;dr: Flutter Live, a celebration of Google’s new mobile app SDK, is happening on December 4th. Sign up here for our global livestream…
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
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
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
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,
);
}
}
}​//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…
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,
);
}
}
}​//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
Submitted November 16, 2018 at 01:52PM by Shrugs_
via reddit https://ift.tt/2K8EN3G
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
r/FlutterDev - reassemble() best practices?
1 vote and 0 comments so far on Reddit
I need you for a test, pls if you have a Instagram account like this photo: https://www.instagram.com/p/BqPsL92Apdh/?utm_source=ig_share_sheet&igshid=1t82rjckg6efn
Instagram
Edi Queiroz
#cacerestresculturas @lafraguadevulca
Reddit: Switching Widgets…
https://ift.tt/2K8Pjbd
Submitted November 16, 2018 at 09:42PM by Elixane
via reddit https://ift.tt/2zcP8au
https://ift.tt/2K8Pjbd
Submitted November 16, 2018 at 09:42PM by Elixane
via reddit https://ift.tt/2zcP8au
Medium
Switching Widgets…
Switch widgets @runtime with animations
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
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
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
Reddit: Doing a Flutter Bootcamp for 4 days straight results
https://www.youtube.com/watch?v=cBJaQzAHB80
Submitted November 17, 2018 at 02:30AM by replayjpn
via reddit https://ift.tt/2zgVxBt
https://www.youtube.com/watch?v=cBJaQzAHB80
Submitted November 17, 2018 at 02:30AM by replayjpn
via reddit https://ift.tt/2zgVxBt
YouTube
Flutter 4 Day Bootcamp for Beginners Results
Flutter Bootcamp for 4 Days Results
Have you ever wanted to take take 4 days straights & only study something? I really wanted to learn Mobile App development (both iOS & Android). That's exactly what I did studying Flutter & Dart for 4 days straight.
I…
Have you ever wanted to take take 4 days straights & only study something? I really wanted to learn Mobile App development (both iOS & Android). That's exactly what I did studying Flutter & Dart for 4 days straight.
I…
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
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
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
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
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
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
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
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
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
Reddit: FirebaseAnimatedList: Firebase realtime db to firestore
Hi Everyone!I am migrate flutter app from Firebase realtime database to firestore but have big trouble because firestore no have FirebaseAnimatedList.. I have look everywhere for answer, but cannot find. :(I new to flutter and try many day to solve problem.I have post to stackoverflow but no luckhttps://stackoverflow.com/q/53341493/10654377Anyone help me? <3
Submitted November 17, 2018 at 05:54PM by Flutter_Dev
via reddit https://ift.tt/2Dsm4yz
Hi Everyone!I am migrate flutter app from Firebase realtime database to firestore but have big trouble because firestore no have FirebaseAnimatedList.. I have look everywhere for answer, but cannot find. :(I new to flutter and try many day to solve problem.I have post to stackoverflow but no luckhttps://stackoverflow.com/q/53341493/10654377Anyone help me? <3
Submitted November 17, 2018 at 05:54PM by Flutter_Dev
via reddit https://ift.tt/2Dsm4yz
Stack Overflow
Migrate Flutter app: realtime db to firestore
I am migrate flutter app from Firebase realtime database to firestore. I have trouble with update this code in chat app because firestore no have FirebaseAnimatedList.
Old code:
Widget build(
Old code:
Widget build(
GGroup: Hire Flutter Dev
Hi, Socodeur is still searching for freelancers to recruit we usually re-contact those who work for a good price. Fill this form : https://goo.gl/forms/4YK4BqmnF1eAV3vK2 If your profile correspond to our request, you’ll be contacted via mail. We unfortunately do not have time to answer
Submitted November 17, 2018 at 09:32PM by Socodeur
via Flutter Dev https://ift.tt/2QPKoyo
Hi, Socodeur is still searching for freelancers to recruit we usually re-contact those who work for a good price. Fill this form : https://goo.gl/forms/4YK4BqmnF1eAV3vK2 If your profile correspond to our request, you’ll be contacted via mail. We unfortunately do not have time to answer
Submitted November 17, 2018 at 09:32PM by Socodeur
via Flutter Dev https://ift.tt/2QPKoyo
Reddit: Hypothetical Question
Let's say someone created an entire app using just main.dart and it got to the point where the single file is 12k lines and really laggy how would on solve this terrible coding practice?
Submitted November 18, 2018 at 01:53AM by dancingbannana
via reddit https://ift.tt/2FCxMJY
Let's say someone created an entire app using just main.dart and it got to the point where the single file is 12k lines and really laggy how would on solve this terrible coding practice?
Submitted November 18, 2018 at 01:53AM by dancingbannana
via reddit https://ift.tt/2FCxMJY
reddit
r/FlutterDev - Hypothetical Question
1 vote and 0 comments so far on Reddit
Reddit: A Deep Dive Into Draggables and DragTarget in Flutter - Deven Joshi - Medium
https://ift.tt/2qQMDWL
Submitted November 18, 2018 at 03:29AM by deven9852
via reddit https://ift.tt/2FCoWLU
https://ift.tt/2qQMDWL
Submitted November 18, 2018 at 03:29AM by deven9852
via reddit https://ift.tt/2FCoWLU
Medium
A Deep Dive Into Draggable and DragTarget in Flutter
A tutorial to the power of Draggable and DragTarget in Flutter
GGroup: T-shirt flutter
Bonjour, Je suis dans le groupe du Meet up Flutter de Montréal https://ift.tt/2FqWkFB, j'aimerais rentrer en contacte avec quelqu'un qui pourrait m'aider à trouver des t-shirts Flutter. Merci!!
Submitted November 18, 2018 at 07:53AM by madar...@gmail.com
via Flutter Dev https://ift.tt/2qTOx98
Bonjour, Je suis dans le groupe du Meet up Flutter de Montréal https://ift.tt/2FqWkFB, j'aimerais rentrer en contacte avec quelqu'un qui pourrait m'aider à trouver des t-shirts Flutter. Merci!!
Submitted November 18, 2018 at 07:53AM by madar...@gmail.com
via Flutter Dev https://ift.tt/2qTOx98
Meetup
Flutter Montréal (Montréal, QC)
Flutter is Google’s toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single codebase. In short, you can write code once and have applications on all p
Reddit: Beginner Level Tutorials Recommendations
I'm making a list of GREAT beginner tutorials that is a MUST WATCH for everyone starting out in #Flutter. What did you watch or read or follow when you started out with Flutter? What are your best recommendations? It could be a Youtube channel, article series or anything.
Or just point me to another list of tutorials if you know any?PS. Remember it has to be super beginner!
Submitted November 18, 2018 at 01:26PM by pblead26
via reddit https://ift.tt/2zbek12
I'm making a list of GREAT beginner tutorials that is a MUST WATCH for everyone starting out in #Flutter. What did you watch or read or follow when you started out with Flutter? What are your best recommendations? It could be a Youtube channel, article series or anything.
Or just point me to another list of tutorials if you know any?PS. Remember it has to be super beginner!
Submitted November 18, 2018 at 01:26PM by pblead26
via reddit https://ift.tt/2zbek12
Twitter
#flutter hashtag on Twitter
See Tweets about #flutter on Twitter. See what people are saying and join the conversation.