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

BLoC pattern how to access credentials for the API client?
I'm trying BLoC pattern in flutter, I created a repository and API client to access remote REST API.​I'm creating an instance of the client and the repository in my main function and i'm passing the client as an argument to the repository.​Here my problem is my API client requires some credentials to access the remote server and I'm thinking it should read the credentials from a JSON file.​Also I'm confused from where I should read the JSON file, in the main function or in the API client​Also where should I place the JSON file?

March 31, 2019 at 07:46PM by ukri_b
https://ift.tt/2YEvIq8
New post on Flutter Dev Google group:

Unable to launch with other than ${file} in launch.json
Using VS Code. My project folder has a lib/main.dart that I'd like to launch. My launch.json looks like this: { "version": "0.2.0", "configurations": [ { "name": "Flutter", "request": "launch", "type": "dart", "program":

March 31, 2019 at 08:05PM by Guyren Howe
https://ift.tt/2I3mwFV
New post on /r/flutterdev subreddit:

Why pushing a page/screen/widget into the navigator rebuilds the previous page?
In flutter, when I do Navigator.of(context).push(route) the new page is shown/built, but the old one is rebuilt also!. In the new page, if I navigate to a third page, the third page is shown/built, the previous one is rebuilt, and even the first one is rebuilt!!! Is this a normal situation? I have some widgets that call the server on the first page, every time I push a new page, a not-needed request is sent to the server. I don't use any state management systems except for stateful widgets. I just need clarification on how the navigator works, and why previous pages are rebuilt. Thank you.

March 31, 2019 at 10:38PM by KhaleelShaheen
https://ift.tt/2UexNd9
New post on /r/flutterdev subreddit:

Integrating Flutter within Unity?
Has someone found a way to integrate a flutter widget (the android flutter view) within Unity?I saw this project: https://pub.dartlang.org/packages/flutter_unity_widgetThis allows unity to render within flutter. But I would like the reverse. A flutter widget to render (as a texture?) inside of unity plane/cube,etc.Any ideas of the feasibility and approach to take?

March 31, 2019 at 11:36PM by yabadababoo
https://ift.tt/2I2BGLt
New post on /r/flutterdev subreddit:

UI Dev Needed For DahliaOS (flutter / dart) !Apply Within!
Contact Our Head UI Dev​: [nmcain@gmail.com](mailto:nmcain@gmail.com)​Or Me​: camden.o.b@gmail.com

March 31, 2019 at 11:49PM by EnderNightLord
https://ift.tt/2U6071U
New post on /r/flutterdev subreddit:

3d vs 2d apps
I read that flutter is most suitable for 2d apps (can’t do 3d apps?)Can someone define what “3d” apps are? Do you mean like e.g PUBG?

April 01, 2019 at 03:23AM by colorfulspace
https://ift.tt/2V9UDQi
New post on /r/flutterdev subreddit:

Navigating to another page , results in previous page rebuilding.
i have a http call to upload image to server , after navigating from this page to another page , results in another http call , thus uploading the same image multiple times and this process continues . I am navigating to another page using Navigator.push method , can anybody help me in figuring out the solution to this problem.I believe this is a known issue with flutter , while we should assume that rebuilding is as intended but it results in unnecessary http calls.i have tried calling http request in initState , but did'nt worked.Thanks

April 01, 2019 at 09:23AM by FesterLord
https://ift.tt/2U7ffwb
New post on /r/flutterdev subreddit:

Flutter - Using StreamController and StreamSubscription
http://on.geeklearn.net/9d20a4a21d

April 01, 2019 at 10:12AM by Rogers911z
https://ift.tt/2JU3cxt
New post on Flutter Dev Google group:

Flutter CI/CD video tutorial (ASMR)
We just released a 12 minute video detailing how to onboard your Flutter project onto Bitrise (mobile specific CI/CD platform), including how to deploy to Google Play and the App Store. Also, it's completely whispered, because ASMR: https://www.youtube.com/watch?v=Gq5dJNQGmJs

April 01, 2019 at 10:45AM by rik.haa...@bitrise.io
https://ift.tt/2uACsre
New post on /r/flutterdev subreddit:

Visual Studio Code autoformat line width
Anybody know how to change the autoformatting line width? It defaults to 80 chars. Tried the prettier extension along with changing prettier.printWidth... no dice. Anybody know?

April 01, 2019 at 11:14AM by starblazer13
https://ift.tt/2K4irnI
New post on /r/flutterdev subreddit:

Know Your Widgets: Cupertino PageScaffold in Flutter
https://ift.tt/2WDNWGw

April 01, 2019 at 11:59AM by aeologic
https://ift.tt/2HRWbeL
New post on /r/flutterdev subreddit:

Parsing JSON | Flutter
https://ift.tt/2WDFgQw

April 01, 2019 at 11:35AM by ashishrawat2911
https://ift.tt/2HQdI6V
New post on Flutter Dev Google group:

Animation and BLOC-Pattern
Hi, is there any example how to make an animation controller with a stream? I have ValueObservable get isTransfering => _isTransferingSubject.stream; final _isTransferingSubject = BehaviorSubject(); and want to have an animation with a sync icon (if isTransfer==true-->

April 01, 2019 at 02:11PM by Frank Weißenborn
https://ift.tt/2U6RGU5
New post on Flutter Dev Google group:

Google Maps Tracking
For an app I'm writing, I am wanting to use Google Maps to track a user's walk. It will be similar to Strava or MapMyRun.

April 01, 2019 at 03:04PM by ja...@lillie.me.uk
https://ift.tt/2I4KnF8