Flutter Heroes
25.9K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on Flutter Dev Google group:

How to render firestore dynamic content with a Stream Builder,drop down menu and List View
Hi, I have been trying to create a flutter List view page with content from a firestore subcollection, which can be changed using a dropdown menu. I'm able to use the streambuilder query snapshot to populate the dropdown list with DocumentID's of a parent firestore collection, but im having

April 21, 2020 at 06:52PM by Archie Kariuki
https://ift.tt/2xNaUEg
New post on /r/flutterdev subreddit:

State Management/Database components...
I am 2 months into Flutter/Dart learning. So far I am amazed at what can be done, but maybe I'm totally missing something. This is not a complaint, but perhaps a bit of confusion. I come from 35 years building DOS, then Windows client server business apps, the last 20 in Delphi/Pascal.Basically, state was not an issue and database usage was as easy as buy/write/share a database library/package where the boilerplate can live and from the developer's point of view:Establish your database connection (login to SQL, noSQL, flat file...)Create table (container) level components, datasets that hold the query (sql...)Connect your visual components (grids/lists/dropdowns) to the datasets. User actions take you from there.I know, and can see the beauty of streams of data that update your chat, or messaging app, but honestly, in my 35 years I have only needed that in a few apps. Mostly business apps are: collect data, present data, manipulate data, post data, report on the data.I see Flutter as an excellent way to get data in, and probably do everything else, but I don't understand why there is so much boilerplate code required to do what seems to be so simple. There are soooo many great widgets and packages and whole apps you can download for free, but is there a simple database CRUD package without all the boilerplate?​Thanks for leaving me space to vent lol

April 21, 2020 at 07:28PM by jrheisler
https://ift.tt/2RVnQik
New tweet from FlutterDev:

Get the scoop on how animations work!

Animations are just fast, consecutive rebuilds of a widget. Dive into @filiphracek's post to take a closer look at Ticker and see how animations work in a step-by-step guide.

Read here ↓ https://t.co/lmzGp92J2S— Flutter (@FlutterDev) April 21, 2020

April 21, 2020 at 08:12PM
http://twitter.com/FlutterDev/status/1252661607538163713
New post on Flutter Dev Google group:

Something is different with Flutter: 1.12.13+hotfix.9
Something is different with Flutter: 1.12.13+hotfix.9 VS Code 1.44.2 I'm running on the latest iMac I'm experiencing different problems, here is an example: my print commands are retaining old information. I update the print line in the function but VS Code still prints the old info to the

April 21, 2020 at 08:37PM by jerry hamby
https://ift.tt/3eBMrCq
New post on /r/flutterdev subreddit:

Hydro-SDK - Author native Flutter experiences in Typescript and deliver updates directly to users over the air and out of band
https://ift.tt/2K5skyz

April 21, 2020 at 08:29PM by chgibb
https://ift.tt/3eIRCjV
New post on /r/flutterdev subreddit:

LAN Communication
I wanted to create a game with a LAN multiplayer. However I couldn't find any easy methods to transfer data between devices on LAN. Hence I eventually created my own.client_server_lanPlease can I have opinions (and maybe even contributions) on this package. I've also published it on pub.dev so feel free to import it using that.

April 21, 2020 at 08:14PM by robert31415
https://ift.tt/3aqCSD7
New post on /r/flutterdev subreddit:

Hydro-SDK - Author native Flutter experiences in Typescript and deliver updates directly to users over the air and out of band
https://ift.tt/2K5skyz

April 21, 2020 at 08:29PM by chgibb
https://ift.tt/3eIRCjV
New post on /r/flutterdev subreddit:

is there a widget for a card that expands when user clicks on it
im looking for a card that only shows the title, and when its pressed , it would show the card body and content.are there any widgets for this?

April 21, 2020 at 09:51PM by NoLayer2
https://ift.tt/2RRbVlB
New post on /r/flutterdev subreddit:

Hope this package will be of use to everyone! It's a simple Flutter wrapper around the DartPad web embedding, letting you include code snippets and DartPad in your Flutter Web applications.!Currently there is no plans on making it available for Android/iOS/Desktop.
https://ift.tt/34UxiaN

April 21, 2020 at 09:30PM by aimldev
https://ift.tt/3bvp0ZI
New tweet from FlutterDev:

It’s time to #ShareYourStickers!

We know a lot of you are missing your community so we thought it’d be fun to kick off a share fest so you can show your fellow developers how you decorate your computers.

Respond below with pics. Bonus points for smiling faces. Pets welcome too. pic.twitter.com/jXGHSht6Qb— Google Developers (@googledevs) April 13, 2020

April 21, 2020 at 10:18PM
http://twitter.com/FlutterDev/status/1252693163954679808
New post on /r/flutterdev subreddit:

get_it import is not working for me !!!
import 'package:get_it/get_it.dart';not working for me!!!! any one can help?

April 22, 2020 at 12:52AM by Antonio_Vanko
https://ift.tt/2VMzfC5
New post on /r/flutterdev subreddit:

Api For Mobile Developing
Hello Everyone,I just wanna ask a question about API. Is there any FREE API'S to use it into our applications or like making apps for play store or app store ?I will be waiting your answers .Thank you =)

April 22, 2020 at 01:17AM by altinsoyc
https://ift.tt/2VKMhjD
New post on /r/flutterdev subreddit:

Getter methods in Widgets Usage
```dart class Example extends StatelessWidget {Example({ Key key, this.value, this.height }) : super(key: key);final String value; final double height;String get _output => value.toString(); double get _margin => (height / 10); } ```I saw this example and I was confused. And this is not the first time I saw this. a couple of different projects or repo has this getter method implemented.If I am not wrong, I thought having a getter method is to be used with an instance of an Object, not inside of the object.For example (from Dart language tour):```dart class Rectangle { num left, top, width, height;Rectangle(this.left, this.top, this.width, this.height);// Define two calculated properties: right and bottom. num get right => left + width; set right(num value) => left = value - width; num get bottom => top + height; set bottom(num value) => top = value - height; }void main() { var rect = Rectangle(3, 4, 20, 15); assert(rect.left == 3); rect.right = 12; assert(rect.left == -8); } ```From dart style guide: DO use getters for operations that conceptually access properties.If I were to change the first example, it would look like this:```dart class Example extends StatelessWidget {Example({ Key key, this.value, this.height }) : super(key: key);final String value; final double height;@override Widget build(BuildContext context) {final String _output = value.toString(); final double _margin = (height / 10);... } ```I changed the getter method to a variable and it still works.Am I missing something?

April 22, 2020 at 02:53AM by thehappyharis
https://ift.tt/2yBraII
New post on Flutter Dev Google group:

Flutter SignalR method not being invoked properly
Hi Flutter developers, I'm new to using signalR in flutter, but i'm unable to execute my hub methods correctly, I'm always getting this error when i invoke executeTest: *Unhandled Exception: type 'GeneralError' is not a subtype of type 'Error' in type cast * *This is my CommentHub in

April 22, 2020 at 02:54AM by SW
https://ift.tt/2RUvHg8
New post on /r/flutterdev subreddit:

Something that I think would make Flutter imeasurably better than it currently is right now
Automatic indentation detection similar to python, in order to remove the amount of brackets and commas needed in order to crate widgets.I'm not a big fan of python (I come from a C++ background) but to say it handles readability well is an understatement. Right now, I think Flutters biggest issue (outside of technical issues that may arise) is the readability of it.I'll give an example piece of code:
class FirstScreen extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: const Text('First Screen'), ), body: Center( child: RaisedButton( child: const Text('Go to Second'), onPressed: () { Navigator .of(context) .push(MaterialPageRoute(builder: (_) => SecondScreen())); }, ), ), ); } } 
Which to me, looks very busy for something so simple. Now imagine this:
class FirstScreen extends StatelessWidget @override Widget build(BuildContext context) Scaffold scaffold appBar: AppBar title: const Text('First Screen') body: Center child: RaisedButton child: const Text('Go to Second') onPressed(): Navigator .of(context) .push(MaterialPageRoute(builder: (_) => SecondScreen()) return scaffold 
With a few adjustements to the interperator (probably a rather heft task) you could improve readability, and reduce complexity and space very quickly!Any thoughts from the community? Is flutter open source enough that this could be something worked on for testing?

April 22, 2020 at 03:29AM by frankielyonshaha
https://ift.tt/3at6IXA