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

Flutter packages
What simple package would you like to see? That will make your job easier and drastically decrease the time you require to build a UI?

February 29, 2020 at 02:40PM by Grey-Winds
https://ift.tt/3arjTsD
New post on /r/flutterdev subreddit:

Build a Flutter Chat App With The Stream SDK
https://ift.tt/39ac8XL

February 29, 2020 at 01:52PM by Elixane
https://ift.tt/2wPQU2T
New post on /r/flutterdev subreddit:

Does anyone use Dart's extension methods to prevent code from nesting too many levels?
Let's say you make a component. After writing it, you realize that it needs padding and a border radius. Adding both can be done easily, but if your parent widget is not a Container, it will likely require 1 extra level of nesting.Does anyone see their code getting "messier" whenever this happens? Do you have any solutions for it?Another similar problem when working with slivers/custom scroll views is that regular widgets need to be wrapped by a SliverToBoxAdapter.So I thought we could leverage Dart's extension methods like so:
extension E on Widget { Widget sliverToBoxAdapter() { return SliverToBoxAdapter(child: this); } Widget padding(double hor, double ver) { .. } } // works like this: AnyWidget( example: "text", ).sliverToBoxAdapter() 
to shorten the code and reduce nesting slightly. Does anyone else do anything similar?Another example where you need an extra level of nesting is when you want an gesture action (using GestureDetector)

February 29, 2020 at 03:43PM by themindstorm
https://ift.tt/38drx8a
New post on /r/flutterdev subreddit:

Are there any good tutorials on using charts in Flutter?
Every tutorial I've found doesn't do a good job of explaining stuff.

February 29, 2020 at 03:52PM by UnicornsOnLSD
https://ift.tt/2T7HXe1
New post on /r/flutterdev subreddit:

Looking fo feedback on JobsinFlutter.io - A dedicated Flutter job board for you
I hit publish. There we go it launched!I went from buying WebFlow to having a launch ready site in about a week, mostly because I’ve not had much more time to dedicate to the project.For those that don’t know, this site is dedicated to Jobs in Flutter. Finding the best jobs for Google’s latest cross-platform tech. It’s similar to React in many ways which is owned by Facebook.I started this project mostly because we’re using this tech for my main startup, Skipr, as such we needed to find developers and this was difficult to do.So there were a few decent sites, but nothing serious and nothing that good looking. I thought to myself I could do better to be honest.Previously, I had launched Jobs in XR with moderate success in the niche field, so this was a good starting point in terms of experience.Why do Flutter?
Facebook released React nearly 5 years ago now, and it has been widely used across the web. Google has seen this as an opportunity to challenge this with a new front-end tech which would fix a lot of the issues React has.The StackOverflow Survey of 2019, also indicated that React Native is more wanted in comparison to Flutter. This tells us that there are more React Native jobs out there, in comparison to Flutter. Flutter is now in the Top 3 most loved frameworks, which is pretty damn epic!Giving Back
So the opportunity for me was to help foster this new technology, especially as I use it daily, so it only made sense that I can give back to the community. I’m especially keen to look out for contributors and people that can help this community grow.What’s Next?
I’m planning on adding a lot of resources, adding members profiles, salary reviews, and much more.The site is launched now, so let’s see how it goes! Feel free to help share the site and if you know anyone hiring Flutter developers, then send them my way!Looking for ideas of what you'd like to see on the site too.

March 01, 2020 at 12:57AM by tobyallen007
https://ift.tt/386N2rb
New post on /r/flutterdev subreddit:

Flutter Bloc: Cryptocurrency App Tutorial (Ep 1)
https://www.youtube.com/watch?v=GJYnk4nBju8

February 29, 2020 at 06:04PM by Marcus-Ng
https://ift.tt/38dlSio
New post on Flutter Dev Google group:

How to implement Timer reliably (persistent)
In my application, It needs a timer to asynchronously launch a new UI screen when the timer expires. The following code shows the desired semantics: Timer t = Timer(Duration(seconds: myDuration), () { askQuestion('How are you doing?'); }); // Maybe later, before the timer goes

March 01, 2020 at 02:15AM by Yu Shen
https://ift.tt/2vtG1n1
New post on /r/flutterdev subreddit:

How do you organize functions in a large app? (providers vs controllers vs services ...)
My state management solution of choice is ChangeNotifier + Provider, so I create all my ChangeNotifier classes in a folder called providers. However, sometimes I require classes that only have static functions. For example, returning true or false if the app is in the dark theme. I usually put these in a services folder.Do you do something similar? I've seen a few apps (like this one) with a folder called controllers, and I'm not entirely sure which classes/functions go there and why.Are there any good or recommended practices on how to structure your large application's functions?

March 01, 2020 at 02:45AM by themindstorm
https://ift.tt/2T9TA44
New post on /r/flutterdev subreddit:

Trouble with gestures
Hi,I am having some trouble with basic gesture detection. I have two widgets, and I am start pan gesture on first one and then ending the gesture on another widget - Think of it as a swipe from one widget to another. How do I go about detecting whether the person dragged till the second widget. There is onPanEnd available but that doesn't help. I can't use draggable and drag target because I don't actually want to drag my widget to another, just swipe.Would appreciate any help.

March 01, 2020 at 03:17AM by chancemehmu
https://ift.tt/2wU9VRO
New post on /r/flutterdev subreddit:

ink_page_indicator - Page indicators for Flutter
https://ift.tt/2I4ZQE7

March 01, 2020 at 10:44AM by bendixmahnke
https://ift.tt/32EXrcB
New post on /r/flutterdev subreddit:

Nile Gift App
Nile gift is a Vertical Timeline Ordered by the date that allows you to:Navigate through ancient Egyptian characters (deity, pharaohs) learn more about them, their stories, images, and videos with fully animated and illustrated characters.Provide the ability to locate characters monuments and order uber or any other cap service to the monument directlyThe App built with Flutter using bloc pattern for state managementThe App is available on Google Play: https://play.google.com/store/apps/details?id=com.mohanedy98.gift_of_the_nileAnd On GitHub : GitHub Nile Gift

March 01, 2020 at 10:54AM by mohaned_y98
https://ift.tt/2VyQOXR
New post on /r/flutterdev subreddit:

FlutterForce — Week 66
https://ift.tt/389IBw0

March 01, 2020 at 11:38AM by flutterist
https://ift.tt/39oQuyM
New post on /r/flutterdev subreddit:

How would you achieve local data persistence when remote versions of the same data are returned as nested JSON objects?
When the server stores data in a MongoDB database and is accessed through GraphQL, it would be cool if local/cached versions of the same data could be stored similarly - in some sort of local NoSQL data store.However, from my research it looks like there aren't that many data persistence options available in Flutter and the best one available is SQFLite. If I use SQFLite, though, I have to wrangle different formats of the same data - the nested-object NoSQL/GraphQL format and the "separate objects joined through relations" format of SQL.Has anyone dealt with this before? Even if you're not using MongoDB/GraphQL in your remote backend, your API likely still returns nested objects which can't be stored as-is in your local SQL DB.So how would you deal with this issue and achieve clean syncing of local and remote data without it turning into a mess?

March 01, 2020 at 12:37PM by fabis
https://ift.tt/3anQPCh