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

First 7 tips and tricks on Flutter
Completed the first week of my #100DaysOfFlutter..​See first 7 tips and tricks on flutter herehttps://erluxman.com/00003-week1-100-days-of-flutter/You can follow this twitter thread for daily updates.https://twitter.com/erluxman/status/1246608678486065152

April 11, 2020 at 04:29AM by erluxman
https://ift.tt/2UYveev
New post on Flutter Dev Google group:

MySQL Database connection locally in flutter
Hey Team, Am a flutter developer beginner, i want to connect the MySQL database locally. But its not connecting. Thanks in advance for your assistance. Here is my dart side import 'dart:convert'; import 'package:http/http.dart' as http; import 'Employee.dart'; class Registration { static

April 11, 2020 at 09:47AM by george ngugi
https://ift.tt/3a0Yvts
New post on Flutter Dev Google group:

switching channel in flutter it is repeating the download of all flutter tools
Hi, i am learning app dev with flutter, in the futter channel stable as recommended and some flutter WEB too but in channel beta. Is recommended to switch the channel to beta for web dev. The problem is that every time i return to the stable channel or vice versa, I run the upgrade or even

April 11, 2020 at 11:32AM by Guidus Vendra
https://ift.tt/3b1cT6l
New post on Flutter Dev Google group:

flutter with firebase
Hi...I am new to firebase.i need to create flutter app with firebase.In that application,new users added to database and also individual table create for each user to save their information dynamically.kindly instruct me the setup(code) for firebase and flutter .i attached prototype of database

April 11, 2020 at 11:52AM by mahesh kumar
https://ift.tt/2RuOuhJ
New post on Flutter Dev Google group:

textfield values gets deleted from firestore using setData and updateData
i am trying to upload the value of multiple textfields but firestore keeps resetting all the values so the old ones disappears . i would like to be able to set a value for first textfield (alOne) and maybe come back later and set a value for second textfield(alTwo). but in my case when the

April 11, 2020 at 02:55PM by Error Place
https://ift.tt/2UZBsL8
New post on /r/flutterdev subreddit:

data_channel, a simple dart utility for handling exceptions and data routing
It is not a very ideal solution to handle exceptions using try and catch at every function call, use data_channel instead. data_channel will take care of routing errors and data out of a method.data_channel (DC) is a simple dart utility for handling exceptions and data routing.Package URL: https://pub.dev/packages/data_channelGitHub URL: https://github.com/ganeshrvel/pub-data-channelExampleReturn error or data from getSomeLoginData methodimport 'package:data_channel/data_channel.dart';Future<DC<Exception, LoginModel>> getSomeLoginData() async {try {return DC.data(someData,);} on Exception {return DC.error(CacheException(),);}}​Check for errorsvoid doSomething() async {final value = await getSomeLoginData();if (value.hasError) {// do something} else if (value.hasData) {// do something}}​DC forward Avoid redundant error checks. Easily convert an incoming data model to another one and forward it to the callee. DC.forward
will return the error in case it encounters with one else data will be returned.Future<DC<Exception, UserModel>> checkSomethingAndReturn() {final loginData = await getSomeLoginData();return DC.forward(loginData,UserModel(id: loginData.data?.tokenId),);}​DC pickfinal appData = await getSomeLoginData();appData.pick(onError: (error) {if (error is CacheException) {alerts.setException(context, error);}},onData: (data) {value1 = data;},onNoData: () {value1 = getDefaultValue();},);// orappData.pick(onError: (error) {if (error is CacheException) {alerts.setException(context, error);}},onNoError: (data) {if (data != null) {value1 = data;return;}value1 = getDefaultValue();},);

April 11, 2020 at 04:02PM by ganeshrnet
https://ift.tt/2y3haaT
New post on /r/flutterdev subreddit:

scaff, a simple command-line utility for generating Dart and Flutter components from template files
https://ift.tt/2XromrL

April 11, 2020 at 06:05PM by ganeshrnet
https://ift.tt/2Vjy6Sl
New post on /r/flutterdev subreddit:

data_channel, a simple dart utility for exception handling and data routing.
https://ift.tt/3c9nYSR

April 11, 2020 at 06:03PM by ganeshrnet
https://ift.tt/2VfMATe
New post on Flutter Dev Google group:

Trying to use the official animations package
The animations package looks great (https://ift.tt/37M2Xv5) but I don't manage to use it correctly. I've tried the implementation of this blog post : https://ift.tt/2XuwTui And then use in my code : Navigator.push

April 11, 2020 at 07:21PM by Tiens tiens Retiens
https://ift.tt/2Vovrqz
New post on /r/flutterdev subreddit:

How to know Firestore has data or not simple check any help please? Without using stream or list view juat simple check with if
?

April 11, 2020 at 07:47PM by reberzaxo
https://ift.tt/2wwSJlH
New post on Flutter Dev Google group:

making it more easy
Hey Sagar here As I am not a tech guy but I have faced a lot of issues when handling a team, as they get a higher package they move. I just want to put my thought. why need to code you just create a prototype and ready to launch the app, many technical people just copy the code and do their job

April 11, 2020 at 08:39PM by Sagar Durugkar
https://ift.tt/2yLAmtQ