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

What is the state of running processes reliably in the background?
I stopped working on my app half a year ago because I couldn't find any solutions to running a process while the app is in the background (not necessarily closed, although nice bonus). My use case was syncing the local database with the one on my server. Initial sync can take up to 15min. It includes fetching data from the server and storing it locally with sqflite. A user should not have to have the app open for so long so I need it to run reliably in the background.Libraries like `background_fetch` and 'flutter_workmanager' will not work as they cannot execute processes immediately, and I'm pretty sure they do not allow a long runtime.How can a developer tackle this issue with Flutter?

April 10, 2020 at 09:17PM by babyningen
https://ift.tt/3ccVAPF
New post on /r/flutterdev subreddit:

How to increse indent/tab size from 2?
How can i increase tab size i use vs code but it seems it doesn't respect vs code settings is there anyway around that?

April 10, 2020 at 11:29PM by maxahd
https://ift.tt/3efdYt2
New post on /r/flutterdev subreddit:

How Can I Create a Flutter Web Plugin for Google Adsense?
Hi, I'm a fluent Flutter developer and I wanna create a Flutter web plugin for Google Adsense. I don't have that much experience in the web (used Javascript, HTML and Css a little bit). The good news is I have the time and willing to learn anything whether in the web or the Flutter side. So can you direct me about what I need to do.P.S: I know about the new way of creating Flutter plugins (platform interface).

April 11, 2020 at 12:07AM by JKirkN
https://ift.tt/2Vj9vgj
New post on Flutter Dev Google group:

Flutter IntelliJ Plugin M45.1 Release
We fixed a couple bugs. - Automatically re-import add-to-app module when host app is opened for the first time (#4479) - Harden survey checking network access (#4469) - Restore missing Attach Debugger action (#4468)

April 11, 2020 at 12:50AM by Steve Messick
https://ift.tt/3eaqOZH
New post on /r/flutterdev subreddit:

FLUTTER DEV.
Please is there any app on Android I can use to code Flutter Dart because I don't have a laptop..???

April 11, 2020 at 01:27AM by joshlinko
https://ift.tt/3ecLuQL
New post on /r/flutterdev subreddit:

Tv box controller press does nothing
Hi, I have a flutter app running on a Mi Box, the navigation seems to work fine except that when I press the center button on my Mi Box controller the app doesn't detects it as a press, what should I do??

April 11, 2020 at 01:48AM by fmaldonado6
https://ift.tt/2V2ZEg1
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