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

How good is Flutter?
Help post
I know some basics of React-native and heard flutter is better. And now I am confused about whether to learn (React and React-native) or flutter for web and mobile development. I heard that using flutter we can use the same code base for both webs, mobile apps, and desktop application development.
For eg, using javascript for the web we have to learn React, and for mobile apps, we have to learn React-Native. But with flutter, it works for both web and mobile apps. Is that true?

March 26, 2020 at 05:04PM by Ace_ZeQuoX
https://ift.tt/2wHxaPc
New post on Flutter Dev Google group:

How to prevent Flutter widget tree rerendering on state update and performance improvement
I have been trying to build an app using flutter and I am having a hard time figuring out certain concepts in flutter. I am hoping to find some answers here. Preface: App dependencies: *flutter_mobx,auto_route,get_it*. I am building an app where I need to show some alerts. I have created a

March 26, 2020 at 06:34PM by Ganesh Rathinavel
https://ift.tt/2WN5gMj
New post on /r/flutterdev subreddit:

Flutter Drivers Tests on AWS
Is there a way to run Flutter Driver Tests on AWS Device Farm other than sylph? I have looked around a lot but haven't found anything other than this. https://github.com/mmcc007/sylphI am also open to other options to AWS if they are well supported and run driver tests without much tinkering.

March 26, 2020 at 06:25PM by aditya_gurjar
https://ift.tt/3ajWny0
New post on /r/flutterdev subreddit:

32+64 bit Android Flutter module and download app size?
Hey, we will be adding Flutter module to existing apo and I'm worried about potential increase of download size.Android studio reports increase in download size by about 18MB after adding Flutter. At the same time App Store build is increased by just 8MB.We publish only one APK to Google Play Store and maybe this is the problem. Should we generate and publish separately 32 and 64 bit versions to mitigate this issue?Or is Play Store smart enough to figure this out, cuz App Store is. In App Store Connect I have very detailed breakdown for every iDevice having different cpu architecture and screen density, but in Google Play Console I see only one number.Thank you

March 26, 2020 at 06:13PM by chrisrutkowski
https://ift.tt/2QO33fR
New post on /r/flutterdev subreddit:

Is BloC pattern worth the hassle?
I have been working on BloC for multiple choice quiz app and it's just painful. I'm thinking now to try another state management like Provider

March 26, 2020 at 09:25PM by tewojacinto
https://ift.tt/2Juronb
New post on Flutter Dev Google group:

Flutter - WebVIew doesn´t work with HTTP
Hello, I´m trying to use Webview on my flutter App. *My problem: Webview only works with HTTPS protocol, pages with HTTP doesn´t work.* // "https://ift.tt/39jkGLa" // "https://ift.tt/2UDpky9", Both applications are build by my company,

March 26, 2020 at 08:47PM by Bruno Zan
https://ift.tt/3boUSyo
New post on /r/flutterdev subreddit:

Can we view RTI images on flutter app?
Hello everyone, few weeks ago I started learning Flutter.Came up with a task which is, if I can manage to view RTI images in a flutter app in approximately the same way they are being viewed in WebRTIViewer (demo).I don't know how to move forward with this.Besides, the real question is, if this even possible? If not, can I code from scratch using Dart to build something which directs the users to a route where they can view the RTI images in the app itself?

March 26, 2020 at 09:49PM by IamDheerajS
https://ift.tt/2vQtTNa
New post on /r/flutterdev subreddit:

A flutter package that creates some cool decoding text effects.
https://ift.tt/2UD9P9w

March 26, 2020 at 10:56PM by bawaaal
https://ift.tt/2wEv8iX
New post on /r/flutterdev subreddit:

Best practices when developing image resources API for Flutter clients?
What are the things to consider in your Flutter app when downloading image resources? Are there general image size resolutions for one size fits all (what are they?) or should device types be taken into consideration for your API when fetching images?

March 27, 2020 at 12:02AM by knarf74
https://ift.tt/2JeUqqH
New post on /r/flutterdev subreddit:

aes_crypt | A Dart library for encrypting/decrypting files, plain text and binary data in AES Crypt file format
Today I have published my first Dart package: https://pub.dev/packages/aes_cryptIt is a library for Dart and Flutter developers that uses 256-bit AES algorithm to encrypt/decrypt files, plain text and binary data. It is fully compatible with the AES Crypt file format and can be used to integrate AES Crypt functionality into your own Dart or Flutter applications. All algorithms are implemented in pure Dart and work in all platforms.

March 27, 2020 at 01:48AM by alexgusev
https://ift.tt/3dx1I74
New post on Flutter Dev Google group:

How to use Navigator to switch pages (replace - not load new page on top of old page)
Hi all, I have an app I am writing and each page uses an app bar at the top that contains a drawer widget. Each page on the drawer menu is a base level page and shouldn't be loaded on top of the previous page, but should replace it. I have created a stateless custom drawer widget to use in each

March 27, 2020 at 03:49AM by Paul Coshott
https://ift.tt/2JgZOt8
New post on /r/flutterdev subreddit:

Flutter Design Patterns: An overview of the Bridge design pattern and its implementation in Dart and Flutter
https://ift.tt/2JfcxN4

March 27, 2020 at 08:24AM by mkobuolys
https://ift.tt/2xqWqt9
New post on /r/flutterdev subreddit:

Futures, Streams and Firebase Billing
so my understanding is that using Firebase with futures will do single fetches, for example, with a press of a button, you get a list of products and that's it. With streams however, a connection is opened and any changes to the products for example a price change will instantly be reflected in the app whereas with futures, you would have to make another call to get the updated price.My question therefore is, since one approach is opening and maintaining a connection (streams) and the other isn't (futures), how do the two fare as far as Firebase billing is concerned? is one approach more costly than the other? assuming that you do everything right like disposing streams and stuff.

March 27, 2020 at 10:58AM by A-PRYME
https://ift.tt/2UHorVg
New post on Flutter Dev Google group:

How do I implement a horizontal draggable sheet?
I am trying to implement a widget which you can drag into video from the side of the screen. Like the stock android calculator has. Which widget do I use? I have posted the question on stackoverflow. If you can provide an answer there it will be amazing.

March 27, 2020 at 02:17PM by savarav abhirham
https://ift.tt/2QRq2GZ
New post on /r/flutterdev subreddit:

i can't set backround task
when i add Application.java and change the xml file like descrepted in backgound location i get this error :/home/walid/Desktop/covid19/covid19/android/app/src/main/kotlin/com/example/covid19/Application.java:17: error: incompatible types: PluginRegistry cannot be converted to FlutterEngine
GeneratedPluginRegistrant.registerWith(registry);
^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 errorFAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.Compilation failed; see the compiler error output for details.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.orgBUILD FAILED in 4m 52sApplication.java codepackage com.example.covid19;
import com.lyokone.location.LocationPlugin;
import io.flutter.app.FlutterApplication;
import io.flutter.plugin.common.PluginRegistry;
import io.flutter.plugins.GeneratedPluginRegistrant;public class Application extends FlutterApplication implements PluginRegistry.PluginRegistrantCallback {
u/Override
public void onCreate() {
super.onCreate();
LocationPlugin.setPluginRegistrant(this);
}
u/Override
public void registerWith(PluginRegistry registry) {
GeneratedPluginRegistrant.registerWith(registry);
}
}android sdk 28
Flutter 1.12.13+hotfix.8

March 27, 2020 at 03:31PM by walide67
https://ift.tt/2xwrmZe
New post on /r/flutterdev subreddit:

Creating Widget as a local variable?
I myself prefer to separate everything into its own StatelessWidget. However, I came across some code that initialize the widget as local variables and then use it. While I do not like it, but I am struggling to find a reason of why we shouldn't do it.``` class MainWidget extends StatelessWidget { final _firstText = const Text('first text'); final _secondText = const Text('second text');@override Widget build(BuildContext context) { return Column( children: <Widget>[ _firstText, _secondText, ], ); } } vs class MainWidget extends StatelessWidget { @override Widget build(BuildContext context) { return Column( children: <Widget>[ _FirstText(), _SecondText(), ], ); } }class _FirstText extends StatelessWidget { @override Widget build(BuildContext context) { return const Text('first text'); } }class _SecondText extends StatelessWidget { @override Widget build(BuildContext context) { return const Text('second text'); } } ``` Could any one give me a reason why we should do one to the other?

March 27, 2020 at 04:23PM by astral_dragon12
https://ift.tt/2QQFdjM
New tweet from FlutterDev:

DartPad offers some of the same refactoring features as Flutter's plugins for Android Studio and VS Code.

💡Check out this example and see how to center a widget with just a few keystrokes! #FlutterFriday

Example here &rarr; https://t.co/WBg7Qakh71 pic.twitter.com/KQIhZxzI0E— Flutter (@FlutterDev) March 27, 2020

March 27, 2020 at 05:34PM
http://twitter.com/FlutterDev/status/1243577092047921152