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

Connecting to Dart VM Service..
I'm trying to test a simple JSON RPC Java client, and connect to the Dart VM Service using TCPover a Socket, sending an initial JSON "packet" and looking for a response from the server.It's being run from the desktop on Windows. Is there any command I should be entering from a command line to get the server going, and what hostname and port number should be used for the Socket. Also, what should the initial JSON "packet" be? 'getVersion'? I've been looking at the vm/service notes. Thanks!

December 13, 2018 at 05:54PM by joes131
https://ift.tt/2GfdINY
New post on Flutter Dev Google group:

Rendering Performance
I'm interested in adopting Flutter in my future apps, so I tryied out various apps developed in Flutter for both iOS and Android and compared them with some native ones. In the Flutter apps I encountered frameskips and the animations are not always fluid like native ones. In your opinion is this

December 13, 2018 at 07:41PM by Simone Pauro
https://ift.tt/2LdIOo3
New post on Flutter Dev Google group:

Traffic layer of google maps flutter
Hello people, I'm trying to get the traffic layer on my google map. I'm currently using the Google Maps Flutter plugin but I don't think they have the traffic layer yet. Any help?

December 13, 2018 at 08:56PM by Udana Methmal
https://ift.tt/2rC0BMu
New post on Flutter Dev Google group:

Wrapping a proper flutter widget to an API function
Hello friend, I need help in wrapping a proper Flutter widget to call an API function in order to post to the backend. Below is the link to my code: https://ift.tt/2RVuqDi

December 13, 2018 at 09:10PM by Azeez Akinsola
https://ift.tt/2Qv69aJ
New post on Flutter Dev Google group:

Overlay is moving
Hi guys ! I'm asking how to disable Overlays to move when a Scaffold.of(context).showSnackBar is called like on my capture. The same thing is happening when the keyboard appear. Sometime the blue floattingButton (+) don't come back to it's original position :-( Thx in advance.

December 13, 2018 at 09:43PM by Julien P.
https://ift.tt/2Lkb4p6
New post on /r/flutterdev subreddit:

Open source word game - Bnoggles
An open source project, my first Flutter project. My goal is to make a game based on the Boggle game that is free and has no ads. Looking for feedback; mostly about the code, the backlog is already full with feature requests :)

December 13, 2018 at 09:26PM by bennorichters
https://ift.tt/2SN8Y3h
New post on Flutter Dev Google group:

Detect widget visibility?
I have a stateful widget that displays incoming data from a stream. I subscribe in initState() and close in dispose() as usual, and all works fine. When the widget is off-screen, or otherwise not visible, the state continues to update--which works just fine--but I'd rather it didn't, because

December 13, 2018 at 09:59PM by Lee Crocker
https://ift.tt/2Gewgh7
New post on /r/flutterdev subreddit:

Is there an alternative to Firebase?
Is there any other solution giving me the same features: scaling, authentication, security, cloud hosted, nosql-db, flutter integration?​I look for an easy solution that can be ported if needed. Firebase seems to lock me in to google.For Back4App(Parse) I don't seem to find code examples for flutter on their page.Kuzzle seems to be quite expensive.Other options either aren't cloud hosted and/or also vendor locked-in.

December 13, 2018 at 09:46PM by c-f-g
https://ift.tt/2QOYG5y
New post on /r/flutterdev subreddit:

Correct transformer for rxdart
I want to create a transformer for a PublicSubject in rxdart. I will add a bool value to the sink, after that the transformer will save that value to database by calling my method and return that bool value to stream. What is the transformer for this task. I am confused about a lot of transformer types in the API docs. Thanks!!

December 13, 2018 at 10:31PM by thuutien2
https://ift.tt/2GdzZM7
New post on /r/flutterdev subreddit:

Bloc per screen, per widget, per db resource?
Title says it all, when you create a Bloc is it per "screen", widget, or db resource? I have been designing my Blocs per screen however I find that I will need to reuse similar business logic on other screen Blocs (not very DRY) so I am debating on changing everything over to creating a Bloc per db resouce however that may result in a lot of nested BlocProviders in my code since I have different resouces being pulled in for any given screen. What is the proper technique?Thanks.

December 13, 2018 at 11:15PM by UrFsxD0xnXCnsxwnAUhM
https://ift.tt/2SN7dU6
New post on Flutter Dev Google group:

Bloc per "screen", widget, or db resource?
When you create a Bloc is it per "screen", widget, or db resource? I have been designing my Blocs per screen however I find that I will need to reuse similar business logic on other screen Blocs (not very DRY) so I am debating on changing everything over to creating a Bloc per db resource

December 13, 2018 at 11:44PM by John
https://ift.tt/2UOFDYm
New post on Flutter Dev Google group:

Flutter doctor wont accept android SDKs
Hi, I'm trying to get flutter working for the first time but it seems that I don't have a valid sdk version (or something?) From flutter doctor -v > [✓] Flutter (Channel stable, v1.0.0, on Linux, locale en_US.utf8) > • Flutter version 1.0.0 at /home/vagrant/development/flutter > •

December 14, 2018 at 02:34AM by Martin Lyne
https://ift.tt/2QtB5rV
New post on /r/flutterdev subreddit:

hummingbird and google search
I heard about hummingbird project and it's really cool that I can do web with flutter.​However, will contents on Flutter App(Hummingbird App) be able to be searched on Google? I mean I am curious if it's possible to do SEO on it.​Any thoughts?

December 14, 2018 at 03:29AM by steadyaction
https://ift.tt/2CbZPMj
New post on /r/flutterdev subreddit:

Gradient Text in Flutter
Hey guys, reddit noob here...​I wrote this yesterday about painting gradients through text in Flutter, and was wondering if anyone here knows a better way. Or if this is in fact the best way...​https://medium.com/@tonyowen/gradient-text-in-flutter-24a8c8adfcd9

December 14, 2018 at 08:43AM by tunitowen
https://ift.tt/2EsfKZv
New post on /r/flutterdev subreddit:

Looking for a minimal example of customizing a StatefulWidget
I have only found a few tutorials explaining how to create a StatefulWidget rather than a StatelessWidget. And of those, exactly zero talk about how to extend the functionality of an existing StatefulWidget. I was hoping someone could enlighten me on the proper way to do this.My designer wants text fields to be rounded. So I have created a RoundedTextField widget like so:
class RoundedTextField extends StatefulWidget { final TextInputAction textInputAction; final TextInputType keyboardType; final String hintText; RoundedTextField( {@required this.textInputAction, this.keyboardType, this.hintText}); @override _RoundedTextFieldState createState() => _RoundedTextFieldState(); } class _RoundedTextFieldState extends State<RoundedTextField> { @override Widget build(BuildContext context) { return new TextFormField( textInputAction: widget.textInputAction, keyboardType: widget.keyboardType, decoration: InputDecoration( hintText: widget.hintText, contentPadding: EdgeInsets.all(12), border: OutlineInputBorder(borderRadius: BorderRadius.circular(24))), ); } } 
Please keep in mind that I have no idea if this is even the proper way to do it. For instance, do I really have to specify every single one of TextFormField's properties in RoundedTextField's constructor or is there a way I can allow those to be passed in without inheriting from the class (which I've been told goes against the way Flutter was intended to be used).Now, in the case that the text field is for a password, there are a few additional properties I need to add:obscureTextThe InputDecorator should have a suffixIcon containing an IconButton for the show/hide passsword function.I realize I have no idea how I would even go about doing this. My initial thoughts were:Use a named constructor (RoundedTextField.password()). The preferred solution I suppose because a password field is really just a type of text field and doesn't seem to warrant its own widget. I ran into issues with excluding certain properties from the constructor though (keyboardType should not be able to be passed in) or trying to automatically pass certain values from the constructor (obscureText = true) because in a StatefulWidget all the variables are supposed to be final.Use a widget that composites RoundedTextField. I don't know how to do this though which is why this post exists.Neither of the above; just pass in the appropriate properties since the widget is only used in three spots (login, register, change form). That is still enough spots that I think it makes sense to reduce repetition though.In all three of these cases, my main problem is that I don't know how to "add on" the extra properties to the RoundedTextField (particularly the extra InputDecorator property since the decorator already exists on the text field).If someone could explain (1) if my implementation of RoundedTextField is correct, and/or (2) how I would go about solving my password field issue, I would be immensely thankful. And if you happen to be in Boston, I'll owe you a beer :)

December 14, 2018 at 10:26AM by _HEATH3N_
https://ift.tt/2zZBvf5
New post on /r/flutterdev subreddit:

Flutter Search in ListView – Karthik Ponnam – Medium
https://ift.tt/2SKvjyw

December 14, 2018 at 12:15PM by KarthikPonnam
https://ift.tt/2QL7LfR