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

Flutter — Visual Studio Code Extensions for Fast and Efficient Development
https://ift.tt/2H6EFV0

October 16, 2020 at 09:46AM by Elixane
https://ift.tt/3dvRzb6
New post on /r/flutterdev subreddit:

Gridview of cachedNetworkImageImage lagging on older devices
I have about 100 images in to gridview of cachedNetworkImageImage but it's lagging on older devices, wich way is the best to show images in long gridview without lagging even if images are in high res.

October 16, 2020 at 01:26PM by diyar_gulli
https://ift.tt/343hR1n
New post on Flutter Dev Google group:

image processing in flutter
Hi Everyone I am making a school project on flutter using some image processing and I am showing a screenshot of python code and kindly tell me how can implement in flutter please help me, anyone.[image: Capture.PNG]

October 16, 2020 at 04:03PM by Ishaque Nizamani
https://ift.tt/377FiZk
New post on /r/flutterdev subreddit:

A post to thank Flutter in whichever way it has helped me till date and share a simple state management plugin with the community
Hello World,It's been a over a year since I have fallen in love with Flutter and since then I have never looked back. Flutter and Dart have taught me a lot of things which has shaped my personality and has made me the way I am today. If someone (or some people) in the community think that making developers' lives easier and more productive is their responsibility, then I think it should even be my responsibility to help them in some or the other way. So I came up with a simple state management plugin, that makes things even easier. Zero complexity was the ultimate goal of the plugin, but the plugin is all about what could have been achieved. The basic approach of this plugin is to design a widget tree with respect to some variables and then update them as and when needed (with the help of this plugin).Updating would be as simple as attaching a notifier (n) to a widget (literally anywhere in the widget tree),
n - ()=>Text(variable)or (passing the required value to that part of the tree,n - (v)=>Text(v)Plugin: https://pub.dev/packages/notifier_plugin
GitHub: https://github.com/thehumankid/notifier_plugin
(The plugin does have other interesting features too)Thank you for everything Flutter 🤗 (The official team and all present and future contributors)

October 16, 2020 at 03:33PM by the_human_kid
https://ift.tt/3nZGVOP
New tweet from FlutterDev:

Join @fitzface at #DevFest GDG Cloud Emirates on October 16 at 8pm (GMT +4), where he explores strategies and methods for storing data locally in your Flutter app.

Save your spot ↓ https://t.co/i8f8q0XIug— Flutter (@FlutterDev) October 16, 2020

October 16, 2020 at 05:01PM
http://twitter.com/FlutterDev/status/1317118484099272704
New post on Flutter Dev Google group:

socket_io_client for socket connect triggering multiple times .
Hi everyone, I needed guidance and help regarding this problem. I am using the socket_io_client library for the socket connection in the flutter app. for example connectToSocket() { Socket socket = io('http://xyxz',
New post on Flutter Dev Google group:

Flutter Wifi connectivity
Hi I am working on an IoT project with a Wifi module and I would like to know if there is any Wifi connectivity support for flutter. Thanks G Cohen

October 16, 2020 at 06:24PM by Gavi Cohen
https://ift.tt/3nSf9nj
New tweet from FlutterDev:

✏️ Learn how to tweak what information the Dart analyzer gives you!

Pro tip: create an 'analysis_options.yaml' file in the root of your Flutter project.

Check it out → https://t.co/gM6PBAo61O pic.twitter.com/2CxZ9JzfSX— Flutter (@FlutterDev) October 16, 2020

October 16, 2020 at 06:59PM
http://twitter.com/FlutterDev/status/1317148123572088839
New post on /r/flutterdev subreddit:

Remove AdMob with in_app_purchase ?
Hey guys, does any of you know any github repository where there is in_app_purchase product, which would remove ads from the phone for some amount of time?(Something like, buy premium with no ads for 2 months).Any link or sugestion would help. (Just please don't say "make two versions of the app, and why an user buys a product, you redirect him to download your second premium app)

October 16, 2020 at 08:16PM by AdLive8235
https://ift.tt/37hz4pJ
New post on /r/flutterdev subreddit:

Nested Listview (Listview inside Listview) in Flutter
https://ift.tt/3459rX7

October 16, 2020 at 08:05PM by rrtutors
https://ift.tt/355Rabx
New post on Flutter Dev Google group:

PlatformException(photo_access_denied
I truly baffled by this, my iPhone device runs fine but the simulator gives me this problem: PlatformException (PlatformException(photo_access_denied, The user did not allow photo access., null, null)) My info.plist seems to have the items I need (see screen grab). Any advice?

October 16, 2020 at 09:50PM by jerry hamby
https://ift.tt/3j2aYlf
New post on Flutter Dev Google group:

Flutter 1.22.2 hotfix released to the stable channel.
Hi, Flutter 1.22.2 has been released to stable. This is a hotfix release on the 1.22 branch and also includes a hotfixed Dart 2.10.2 version. Changes for this build are listed below and are available on the Flutter Wiki here: Hotfixes to the Stable Channel
New post on /r/flutterdev subreddit:

Kicking off my new development serries on creating a real flutter app
Hi there!I've started a new series on creating a podcast app using flutter. We're going to go through the process of creating an app from start to finish.Youtube LinkBlog PostIf you want to see the serries develop, Subscribe and give a thumbs up!

October 16, 2020 at 09:33PM by DoPeopleEvenLookHere
https://ift.tt/3k7etbc
New post on /r/flutterdev subreddit:

Considering Flutter for Frontend
Just wanted to get the community's opinion on the current state of Flutter Web. We're looking at using Flutter for the front end to minimize the amount of platform specific code required and it'd be great if the web portion could also share the same code base. Can the majority of the mobile UI code be used for deploying to Flutter Web, or is there still a lot of things that will need to be done twice? Thank!

October 17, 2020 at 12:50AM by Zaneris
https://ift.tt/2T1sY4t
New post on /r/flutterdev subreddit:

<b>State Management could have never been easier!</b>
One simple approach.
Design a widget tree with respect to certain variables and then just update parts of your widget tree as per your requirements. That's all you need to design a dynamic UI in Flutter.
How can one update/rebuild a part of them at ease? That's exactly what the below plugin is for.<a href="https://pub.dev/packages/notifier_plugin">https://pub.dev/packages/notifier_plugin</a>Notifier n = Notifier();
int i = 0;// [...Widget Tree...]
FlatButton(
child: n - ()=>Text(i.toString()) // Attaching the Notifier to a part of the widget tree
onTap: (){
++i;
n(); // All the widgets attached to this Notifier get re-built
}
)
// [...]While this might seem like a something a bit simpler than what currently exists, it's real power can only be felt while actually developing UI keeping the above approach in mind.One could even pass a value to another corner of the app with the help of a `ValNotifier`,ValNotifier v = ValNotifier(initalVal: 0);
// [...Some Widget Tree...]
FlatButton(
child: v - (value)=>Text(value.toString()),
onTap: ()=>v(v.val+1)
)
// [...]
// Note: Both Notifier and ValNotifier can work with multiple widgetsJust want to update a widget tree without explicitly defining it? The plugin has got you covered.int i = 0;// [...Widget Tree...]
~(n) => FlatButton(
child: Text(i.toString()) // Attaching the Notifier to a part of the widget tree
onTap: (){
++i;
n(); // All the widgets attached to this Notifier get re-built
}
)
// [...]A ValNotifier can be obtained in a similar manner by adding an extra parameter,
~(n,v)=>SomeWidgetTree()If this still sounds unrelatable, then just imagine practically implementing some UI logic without really thinking about any other concept....just the above approach. (Design with respect to certain variables and then update as and when needed and see the ease it will provide...the ease would be felt to such an extent that only the app's logic would be there in the developer's mind while using the approach)While the basic features of the plugin will cover most of needs, here's a list of just few of the features the plugin otherwise offers,Perform (foward/reverse/circular) animations with the help of a ValNotifier/TweenNotifier (just specify the start and end value and the duration [and curve] and the plugin shall handle the rest for you)Performing http requests with common parameters have got easier than ever! Every time you request from a HttpNotifier, you'll just have to overwrite the parameters that were previously cached or send a request directly with them, thereby reducing the overall boiler-plate code.Almost any common listenable object (ChangeNotifier, ValueNotifier, Stream(Controller), Notifier, ValNotifier, ...(including controllers)) can be easily be connected to a widget for updates. So whenever the listenable object gets notified or receives a new value, the connected widget will automatically rebuild that part of the widget tree without any hassles.A few examples:changeNotifier - () => Text("Will surely accept no parameters"),
valueNotifier - (value) => Text("Will surely accept a single parameter ($value)"),
stream - (snapshot) => Text(snapshot.hasError?"Error: ${snapshot.error}":"Data: ${<a href="https://snapshot.data">snapshot.data</a>}")And since a controller is very likely to be a ChangeNotifier or ValueNotifier,textEditingController - (textEditingValue) => Text(textEditingValue.text), // ValueNotifier
scrollController - () => Text(scrollController.offset.toString()), // ChangeNotifierEver felt that dealing with Future(s) or async objects is not that intuitive or has too much code to deal with? The plugin has solved that problem too.future - (snapshot)=>DealWithIt(snapshot)
WFuture(future) - (data)=>Text(data.toString()) // Loading and error widget were predefinedTo know more about the other features offered by the plugin, head over to the links given below.Plugin: <a href="https:/…
New post on /r/flutterdev subreddit:

Help improve the dart language
I'm an avid fan of dart but like any languages it has its problems (no this isn't a post about enums :) .One ongoing problem I have with the language is discovering what exceptions a particular method is going to throw.The date language guide recommends adding details of what exceptions are thrown but the reality is that they rarely are.I think there are two root causes of this.1) it requires writing documentation and most developers hate writing documentation. 2) it's often hard to determine what exceptions your method throws because the methods that you call don't document their exceptions.This problem then bubbles up the code path and you have the situation as we have today where exceptions are essentially not documented.I believe there is an easy, non invasive, way of solving this problem.The idea is to add a lint that tells developers that they are missing documentation for an exception.With a lint in place the IDEs can be modified to add a quick fix which automatically adds the exception to the documentation.With little effort we can get a dramatic improvement in exception documentation which will benefit everyone in the community.As it's implemented as a lint it can be globally or locally disabled if you find the lint offensive.I've raised an issue on the dartlang repo.https://github.com/dart-lang/linter/issues/2246If you think this issue would benefit the community could you please vote or comment on the issue.

October 17, 2020 at 02:05AM by bsutto
https://ift.tt/3434G0e