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

Are there any negative effects for declaring widget functions before the build() function?
Hey guys. I'm working on an existing Flutter project which started pretty early during Flutter's initial release so it has a bit of code that isn't "best practice".Refactoring the entire project would be a monumental task and I think the way to go with it is to work on the codes that are affected by current tasks that need to be worked on.So anyways, I noticed that a lot of the widgets created follows a pattern where you have function declarations within the build() method. I've already started removing them and creating separate widgets where necessary but I'm just wondering, are there performance drawbacks having those functions remain in the build function? (I'm asking so that I can bring it up if it does, like make it a prioritized task to do)

December 06, 2021 at 03:49PM by CourageousPuppy
https://ift.tt/3EtgMj9
New post on /r/flutterdev subreddit:

My animation app with 35k+ downloads just went Open source!
https://mooltik.app/

December 06, 2021 at 05:50PM by Futurial
https://ift.tt/3DqFUFP
New tweet from FlutterDev:

🦋 Grab the #flutterapprentice here 👇 https://t.co/TfgyFPT0fO— Flutter (@FlutterDev) Dec 6, 2021

December 06, 2021 at 07:04PM
https://twitter.com/FlutterDev/status/1467917764664852484
New tweet from FlutterDev:

C. Optional is the correct answer! 🥳— Flutter (@FlutterDev) Dec 6, 2021

December 06, 2021 at 07:05PM
https://twitter.com/FlutterDev/status/1467918125823709184
New post on /r/flutterdev subreddit:

For fun, I wrote a Flutter-like framework for command line applications
For fun, I recreated a subset of Flutter to write a Minesweeper command line application. Then, I wrote an article about it. I hope, you find this somewhat useful, even if it is just a fun experiment.

December 07, 2021 at 02:30AM by eibaan
https://ift.tt/3GnGB4S
New post on /r/flutterdev subreddit:

Can we partially stream videos or can we only download them entirely?
Basically the app im building is like reels. I am able to download and cache a few videos for a smooth experience but I’d like to find a way to do partial streams. Instead of downloading the entire video (they are just up to 30 seconds each) id like to be able to stream on demand and if a user swipes away from a 15 second video and they are just 5 seconds into it then just the 5 seconds where downloaded.Can anyone recommend a solution please? I know this can be done in native iOS/ android but I’m finding it difficult in flutter.TYIA

December 07, 2021 at 04:04AM by Necessary1OK
https://ift.tt/3EvRTTP
New post on /r/flutterdev subreddit:

Is it safe to only debug using emulators instead of real devices?
I have an android phone and a mac mini where I can emulate the Iphone.Should I buy an Ipad to test my builds?

December 07, 2021 at 02:24PM by vinivelloso
https://ift.tt/3y3XvT9
New post on /r/flutterdev subreddit:

Auto complete suggestions on Icons are painfully slow
I've searched for this problem that I have, and apparently it does happen but for auto complete in general. But even that is fixed with version 2.5. Those suggestions are working perfectly fine.But i can't find anything about the Icons class. When i type Icons. and wait for a suggestion, they come up somewhat quick, but if i start typing and wait e.g. Icons.add or whatever, then it takes probably minutes (the longest i waited is about 30sec until i lose patience).What gives? It definitely isn't my machine. I have only 3 plugins, Flutter, Dart, and ADB over wifi. What could possibly be causing this?Thanks

December 07, 2021 at 04:02PM by SensiSparx
https://ift.tt/3y1ex4f
New post on /r/flutterdev subreddit:

I made a playlist of 7 hours of chill synth music to lift you up and motivate you while coding/developing. If you are also into this, share yours!
HereBonus

December 07, 2021 at 04:27PM by Iampacificjanjan
https://ift.tt/3IvjCq8
New post on /r/flutterdev subreddit:

Is it a good idea to use both SQLite and Firebase at the same time?
In my head, I am thinking about letting free users have a local database with SQLite while paid users can sync and access their data through Firebase. Is this a good practice or should I just stick with Firebase?

December 07, 2021 at 08:02PM by kirbycrow98
https://ift.tt/3y2DfRC
New post on /r/flutterdev subreddit:

Beginner course Flutter
Hi. I was wondering, youtube course Flutter academind is enough or better buy their course on udemy right away?

December 07, 2021 at 08:36PM by oskardes
https://ift.tt/3EBI32M
New tweet from FlutterDev:

🦋 Chapter 8: Pop Quiz! To open your app to a specific screen, you need to use what? #flutterapprentice— Flutter (@FlutterDev) Dec 7, 2021

December 07, 2021 at 09:04PM
https://twitter.com/FlutterDev/status/1468310359232573443
New post on /r/flutterdev subreddit:

Use custom javascript libraries on Flutter App
I need to create a Mobile App that uses some javascript libraries to interact with some blockchain projects (one of them is web3.js, another one is terra.js).
There is an alternative in dart for web3.js: web3dart, however there is no alternative with other libraries like terra.js.I'm wondering if there is an effective way of doing a flutter app to use custom js libraries?
I've seen there is flutter_js, but I don't know if this is really effective.
Is there a painless way to do so? Or shall I go directly on React Native?Thanks

December 08, 2021 at 12:32AM by xcsob
https://ift.tt/3dKv5nT