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

Flutter Widget Livebook : A website built using Flutter for web to live preview Widget samples online.
https://ift.tt/2KPktVK

August 19, 2019 at 10:51AM by EngineerScientist
https://ift.tt/2MoosvK
New post on /r/flutterdev subreddit:

silly silly question about setState-ish
hi, i started developing/studing flutter (i'm a senior android/ios developer) and i've got this silly question that's rumbling in my mind.considering the "hello world!" app (the counter increasing one) you get when creating a new flutter project, there's the update of the state, like this:
void _incrementCounter() { setState(() { _counter++; }); } 
nothing complicated, BUTit also works like this
void _incrementCounter() { _counter++; setState(() { }); } 
with counter outside the function passed inside setState.So what is function parameter inside setState for ? please don't kill me if question is too silly

August 19, 2019 at 12:12PM by moffetta78
https://ift.tt/30fUehv
New post on /r/flutterdev subreddit:

Flutter plugin for Android Nearby Connections API
Made this flutter plugin recentlyPub: https://pub.dev/packages/nearby_connectionsGithub: https://github.com/mannprerak2/nearby_connectionsSome applications: Offline Multiplayer gaming, File sharing, etcIt android only, Supports bytes and files transfer, with all 3 types of strategies. I've tried to keep its interface as similar to the Original library. The workflow is also similar.Please share your thoughts/ any feedback whatsoever. Thanks

August 19, 2019 at 11:55AM by mannprerak
https://ift.tt/2P47qFo
New post on /r/flutterdev subreddit:

How would you go about implementing this navigation interface?
Hi there!I'm working on a new app with a non-standard navigation interface and I could really use some suggestion and feedback about how to implement it.The navigation is really similar to the one used in the app Zenly example here -> https://photos.google.com/photo/AF1QipPNj1hSjO3t4EDEiNsdDNksiEKLOQ1tzF8pB8ZI?hl=frThe navigation has the following characteristics:Composed of a middle screen which is a scrollable map (google maps) and two side screensThe two side screens can appear ON TOP as an overlay of the middle screen from the left or right side (like full-screen drawers)3 Buttons are positioned at the bottom of the screen at all time (on top of all screen) to allow navigation between pages and react to the animation stateA touch on one of the side screen can trigger a fade into the middle screen directlyMy first thought was to create a stack with the middle screen in the background and a 3 pages `PageView` with the middle one set to be transparent but it prevented touches and gestures on the underlying map.After that, I thought about using the `Drawer` property of the `Scaffold` widget to put my two sides screen as full-screen drawers. It worked, but didn't allow for any customization (can't access the animations controllers used by the drawers for example)How would you go about and implement this navigation? :)

August 19, 2019 at 01:26PM by theo_champion
https://ift.tt/2KTvANn
New post on Flutter Dev Google group:

Flutter REST Api json value
Hi, My Client has API is as below format AddEmployeeGroupRegister.Erm_GroupName_V = “abc name”; AddEmployeeGroupRegister.Erm_URL_V = “https://www.abc.com”; AddEmployeeGroupRegister.Erm_EmployeeID_V = “E001”; AddEmployeeGroupRegister.Erm_Password_V = "abcde"; AddEmployeeGroupRegister.Erm_Mob

August 19, 2019 at 02:33PM by ajit singh
https://ift.tt/2Z70smT
New post on /r/flutterdev subreddit:

Closest library to anime.js for animating multiple SVG files?
The closest thing I've found so far is this: https://github.com/florent37/Flutter-Anim which doesn't seem updated and not sure if it will work with SVGs and it doesn't have a lot of the functions like anime.js does, ex: https://animejs.com/documentation/#motionPath

August 19, 2019 at 03:38PM by Sheeple9001
https://ift.tt/2ZaEa3v
New post on /r/flutterdev subreddit:

[Dart lang] Improve functional programming (FP) with `@pure` annotation?
Do you think it makes sense to have `@pure` annotation in Dart? We already have `@immutable`, thus having both will significantly improve FP style.

August 19, 2019 at 05:34PM by truongsinhtn
https://ift.tt/2NgWFwP
New post on /r/flutterdev subreddit:

Has anyone heard back from flutter for web early access program?
I applied very early to the early access program for flutter for web. I haven't heard anything, and was wondering if other people have heard back and I didn't get accepted, or if they haven't accepted anyone yet

August 19, 2019 at 07:09PM by DoPeopleEvenLookHere
https://ift.tt/2KQ8VS8
New post on /r/flutterdev subreddit:

Are data tables able to edit it's rows?
If not how can we implement the ability to edit a cell values in a row? They even provide an icon with a callback but my text object in the cell is not updating

August 19, 2019 at 08:42PM by JWOINK
https://ift.tt/2KVfJxW
New post on /r/flutterdev subreddit:

60 Days of Flutter : Day 6–7 : Implementing a Slideable Widget Using Bottomsheet in Flutter
https://ift.tt/2zcm56B

August 19, 2019 at 09:21PM by aditya_gurjar
https://ift.tt/2TUJu6d
New post on Flutter Dev Google group:

Fwd: Flutter survey
Hello Team, One of the last question related to furthest development that current app. The word Experimenting is used for options which are kind of confusing. I'm actually developing a real app it is still in development. For me, experimenting is just like playing around or doing a prototype.

August 20, 2019 at 02:08AM by phadqn ster
https://ift.tt/2z85lx9
New post on Flutter Dev Google group:

Unable to refactor this widget
im trying to refactor my padding widget Select the widget in the flutter outline->rt click-> extract widget but it gives me an error " reference to an enclosing class method cannot be extracted” . how to solve this?

August 20, 2019 at 04:39AM by Bhuvan Vohra
https://ift.tt/2Hc3ITC
New post on /r/flutterdev subreddit:

Technical advice needed Flutter Firebase vs Cloud Functions
I'm writing an app that is using Stripe as a payment gateway and Firebase Cloud Firestore to hold all the users data.I'm wanting to know, where would the best place be to put the 'Create', 'Read', 'Update' etc for the user data code. Would this belong in Cloud Functions or is it better to write this in pure Dart/Flutter Classes? Is there any best practices around this?Haven't been able to find anything about this. I've seen a few tutorials but am yet to find a tutorial that uses Cloud Functions and Firestore for storing data.Thanks.

August 20, 2019 at 02:02AM by ChaosFlow
https://ift.tt/33MHQYw
New post on Flutter Dev Google group:

Hello all - I am hosting flutter meet ups ? Anyways to get swag from google or some sort of sponsorship for it?
Hello Friends: Anyway to get some swag for our meet up members for a flutter meet up events? https://ift.tt/2ZiLABM join us by the way! sincerely, Jose Velez

August 20, 2019 at 07:06AM by Jose Velez
https://ift.tt/30moxn4
New post on /r/flutterdev subreddit:

How do you put up with Flutter's UI code?
My goodness, the nested hell and the tons of brackets and also the way examples use so many ternary operators.This is worst than the days when I used to code TurboVision for DOS.Why do people re-invent old stuff then re-engineer it and make it so ugly that it's now called beautiful?!What's the point of over-engineering things like this and make it difficult to work with designers?No matter how much I tried to read all the flutter docs out there, the way you write the UI code is freaking disgusting and everyone's like in a zombie trance state of mind trying to convince themselves this is beautiful and the right way to go.What has happened to the industry? All the bad practices and ugly code formatting/patterns are now considered a must or wonderful.Has everyone gone bonkers ?

August 20, 2019 at 07:45AM by tonefart
https://ift.tt/2KTlex3