Flutter Heroes
25.9K subscribers
272 photos
2 videos
31.1K links
Download Telegram
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
New post on /r/flutterdev subreddit:

NextBus SG – a bus timings and public transport information app using Provider/ChangeNotifier + Hive
https://ift.tt/2xGOwwq

April 22, 2020 at 06:59AM by themindstorm
https://ift.tt/3arGxAB
New post on /r/flutterdev subreddit:

An example of my flutter app architecture, BLoC + freezed
Hello,I would like to share my flutter architecture, its just a really simple example but i hope its understood. Let me know your thoughts or if you have any questions.After reading a post here i have seen lots of people using MobX but i think BLoC have much more control and readability.https://github.com/Code-PLeX/bloc_freezed_example

April 22, 2020 at 09:49AM by Code_PLeX
https://ift.tt/2RUysxF
New post on Flutter Dev Google group:

Using Dart for Firebase Cloud Functions?
While not completely Flutter related, I'd like to know whether anybody successfully tried to use Dart for writing Firebase cloud functions when creating the backend for their Flutter apps. Using Firebase with Flutter works great, but to create a cloud function (which often is required for

April 22, 2020 at 12:24PM by Stefan Matthias Aust
https://ift.tt/2Y2M2D0
New post on Flutter Dev Google group:

Hello i have used https://ift.tt/2Nm9aI6 this package to create country state city dropdwon list
and i m facing a very strange issue and i don't understand the error,first i select country base on that province and then city base on province, it working but some time this error appear after sometime when i select state RangeError (index): Invalid value: Not in range 0..1, inclusive: 2 The

April 22, 2020 at 12:26PM by Attaullah Khan
https://ift.tt/2RXBUHT