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

Unsure about design pattern/state management before jumping to flutter
Hello I am native IOS and Android developer who got a decent upcoming contract job to create a mobile app, heavily UI based. Knowing how difficult it is to create UI in native development I immediately thought about flutter. For the past month I did my research and I really liked the UI building part and Flutter in general.However one thing is definitely worrying me. What state management solution and design pattern should I choose? I will follow clean architecture by Uncle Bob ( as I always do in my projects), but I will still need to save UI state.The thing is that community seems to choose diverse solutions: Bloc, Provider or even Redux... Flutter dev team does not suggest a proper approach and there are tons of community implemented libraries...What would you suggest for production application with complexity similar to Wish or Alibaba?

October 13, 2019 at 02:40PM by wellbranding
https://ift.tt/2B44oXR
New post on Flutter Dev Google group:

Upgrade to 1.10.7 textinput issue
I just upgraded my flutter to 1.10.7 and my android studio plugins and when I debug my app I cannot type in textboxes to login. The error I get is: MissingPluginException(No implementation found for method TextInput.setEditibleSizeandTransform on channel flutter/textinput) I've never seen this

October 13, 2019 at 05:33PM by Sam Cromer
https://ift.tt/2Md2vhO
New post on Flutter Dev Google group:

flutter screen route problem
iam developing an application for college project iam getting an error "{ "resource": "/C:/Users/Mohd Arshad/Desktop/elab/lib/login.dart", "owner": "dart", "code": "undefined_method", "severity": 8, "message": "The method 'milk' isn't defined for the class '_loginState'.\nTry correcting the name

October 13, 2019 at 08:24PM by Mohd Arshad
https://ift.tt/35wd2fH
New post on Flutter Dev Google group:

how to buildt IOS file in windows 10
You can't. For building iOS apps you need a macOS - System.

October 13, 2019 at 11:02PM by Marc Endtricht
https://ift.tt/35wuFfh
New post on Flutter Dev Google group:

How I can build my IOS file in windows 10
I have flutter App and I work with Android studio .. I work in windows 10 environment How I can build my IOS file . thanks

October 13, 2019 at 11:05PM by Black Bird
https://ift.tt/2OL6Iv0
New post on Flutter Dev Google group:

How I can deal or fix this error
I am new in flutter I face this problem I/flutter (27411): Error: type '_InternalLinkedHashMap
New post on Flutter Dev Google group:

How to create an geofencing application using dart(flutter)?
I want to buid an geofencing application in flutter. But I am not finding a way to create geofence from dart so I'm doing platform-channels from java->dart. Is there any other way to create geofence in flutter. Most of the plugins of geofence in flutter does not work properly. So I want to

October 14, 2019 at 09:50AM by Spandan Bhandari
https://ift.tt/2ovWCU2
New post on Flutter Dev Google group:

how to use navigator without context in flutter?
How do I use Navigator without context in flame engine in flutter?

October 14, 2019 at 11:02AM by Yash Jain
https://ift.tt/2J3o4j5
New post on /r/flutterdev subreddit:

Flutter - Survey App
Hello guys, I applied as a frontend developer in react and was hired to join their mobile team which uses flutter. I was given some tutorials to follow and learn throughout the week. I was informed days ago that I will be working on a similar app to streebees . Please I would need some support from you guys. How do I plan this app. Any suggestions or advice will be appreciated. Thank you

October 14, 2019 at 11:23AM by Dugba
https://ift.tt/2IMkPfw
New post on /r/flutterdev subreddit:

Unable to Install Flutter
'where' is not recognized as an internal or external command,operable program or batch file.Error: Unable to find git in your PATH.​I get this error if i try to install flutter is there a fix for it?

October 14, 2019 at 11:04AM by Sujikanth
https://ift.tt/33uLQvS
New post on /r/flutterdev subreddit:

Starting Flutter App on Everything (ios Sim/Android Emulator/ios Device) Taking Upwards of 30 Mins
Starting the basic "Hello World" app on emulator and simulator takes 30 mins. The fastest is running it on my iPhone 6, but even that took about 15 mins. I'm using VSCode on a late 2014 Mac Mini. Anybody have any tips? My mac mini isn't the greatest but I imagine it's enough to smoothly build Flutter apps, I built Unity games on this same computer.Any help greatly appreciated. Thanks.

October 14, 2019 at 11:32AM by CodeGregDotNet
https://ift.tt/2IOCbIW
New post on Flutter Dev Google group:

How to validate form
I added many text fields i want to store into a firebase db and then i have to fetch what i have to do for that Plz help

October 14, 2019 at 01:22PM by Mohd Arshad
https://ift.tt/2IOww5g
New post on /r/flutterdev subreddit:

Flutter Tap Newsletter - Week 8
https://ift.tt/2Myq6Z6

October 14, 2019 at 02:20PM by vensign
https://ift.tt/35yuS1D
New post on /r/flutterdev subreddit:

Can't Access Cookie in HTTP Response
Hi,I'm working on Flutter an app which will use Express based REST api. While implementing Cookie based sessions, I wanted to retrieve cookies from app with basic auth request but somehow I can't retrieve cookies in response. When I make the same request from Postman, there is no problem, cookies are setted automatically.​I am using HTTP package to make request and code is quite straightforward as below.void login(String username, String password) async {
var url = 'http://$username:$password@111.222.333.444:3333/auth';
var response = await http.get(url);
print('Response header: ${response.headers}');
print('Response status: ${response.statusCode}');
print('Response body: ${response.body}');
}There is no cookie in header or body of response.

October 14, 2019 at 04:31PM by btutal
https://ift.tt/2OHZQOS
New post on /r/flutterdev subreddit:

<b>future? futurebuilder? I'm struggling just a bit</b>
I've been playing around with flutter. I'm completely new to app development, but I've been building backends in PHP for over a decade now.I'm lost on some of the syntax. The app I'm playing with communicates with some API entry points for an existing site of mine. I've so far been mashing together various examples and failing gracefully a lot. I wanted to see if someone could give me some human friendly explainers on some of the code.My questions are largely from this example: <a href="https://flutter.dev/docs/cookbook/networking/fetch-data">https://flutter.dev/docs/cookbook/networking/fetch-data</a>In step 4, they create the initial call for http data<pre>FutureBuilder<Post>( future: fetchPost(), builder: (context, snapshot) { if (snapshot.hasData) { return Text(snapshot.data.title); } else if (snapshot.hasError) { return Text("${snapshot.error}"); } // By default, show a loading spinner. return CircularProgressIndicator(); }, ); </pre>They call FutureBuilder<Post> - why Post? Is that because they built a future of that previously? Or is Post a reserved word? Since This is getting a JSON object from the web, I am possibly confusing a GET and POST request. I think this is just the naming here. But they called it in the next line, fetchPost(), if they're calling the function, why specify <Post>? I don't fully understand the necessity of those two pieces.Then the builder - What is the context and what is the snapshot? From being able to read the function, it looks like the snapshot gets the data from the JSON request. Context I'm guessing passes on something, but I don't fully get what. Are the names changeable? Instead of snapshop, can I call is 'jsondata'?In the step before that, they create the Future. I don't really get what a Future is or does.<pre>Future<Post> fetchPost() async { final response = await http.get('https://jsonplaceholder.typicode.com/posts/1'); if (response.statusCode == 200) { // If server returns an OK response, parse the JSON. return Post.fromJson(json.decode(response.body)); } else { // If that response was not OK, throw an error. throw Exception('Failed to load post'); } } </pre>I am guessing this is a Future of the Post object they created in the first step. If that's the case, why isn't it part of that object? If it is part of that object, then why does the function name matter? Are there instances where you'd want Future<Post> thisFunction() as well as Future<Post> thatFunction()?The Post class in the previous step has something called a factory. This seems to process some data then feed it back into the object. I'm used to objects having constructors, but a factory is new. Am I correct on my interpretation here?Finally, the way they kick this off is weird to me.<pre>MyApp(post: fetchPost()) </pre>Why are the calling the class by passing it the function? And why are they passing post: fetchPost() and not just fetchPost()? This is why I'm inclined to believe the function name does not make it unique on it's own.Oh and in the MyApp class, what the heck is this?<pre>MyApp({Key key, this.post}) : super(key: key); </pre>I don't understand this. I know we defined a post variable in the class that references the Future<Post>, but I don't really get this. Why not just call the function directly? Can't that be done?I'm sure there are gaps in my knowledge since this isn't what I usually work in. I've been googling a lot and not getting too far. I'm hoping someone can just give me a nice human break down. Any bits of it you care to explain, I'd be happy to read.I can report that I've been working at what feels like a nice pace. I'm working on my login mechanism, already have a data feed that I can display and am deciding what to do next. None of it looks stellar, but I love it. It feels like the first time I ever played with HTML. None of it looks amazing, but I made it, and that makes it amazing. I hope you guys can…