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

Still in development, but excited to see AWS come to Flutter! Who would use this over firebase?
https://ift.tt/348yyZI

August 20, 2020 at 05:23PM by mrgnhnt96-dev
https://ift.tt/2Eann8e
New tweet from FlutterDev:

😊 We want to hear from YOU!

Fill out this user survey so we can learn how to improve Flutter, and make it an even better tool for you.

On behalf of the Flutter team,
Thank you

🖊️ Take the survey here → https://t.co/lsHMohUPFN pic.twitter.com/ALyTXm258O— Flutter (@FlutterDev) August 20, 2020

August 20, 2020 at 06:00PM
http://twitter.com/FlutterDev/status/1296477138925817860
New post on /r/flutterdev subreddit:

How do you do testing? especially in regards to mocking and faking stuff
So finally got to set up testing for my app, read through the docs, got a bit confused by the difference between the `test` and `flutter_test` package, looked through mockito and started writing my first tests.This is when i noticed, that it sometimes is really hard or impossible to mock or fake certain parts of the code. I remember last time i did something like this is node.js, i was able to mock stuff that gets imported by my code such as "http" or I/O related modules. Now i can't seem to do the same thing in Dart/Flutter, which is making me wonder how to set up testing for some of my code.For example, i want to test a class called `ApiService` which contains all my api calls. The way i designed it, is that the class has its own instance of httpclient, so I'd call init() once (the whole class is static i.e. only static methods), which creates a new httpclient instance, which is then used in my future api calls. Problem is now, that during testing, I seemingly have no way to mock, fake or otherwise modify this httpclient.Or another example: I have some function `foo(String bar){....}` which should call `static void foobar()` inside `class SomeService`, but only if `bar == "foobar"`. Now i want to verify that `foobar()` has been called, but how can i fake/stub/mock a static method of a class ?The only solution i can see, is completely refactoring my whole codebase to always have a kind of dependency injection for these things, which is something that I'd rather not do, considering the time effort.I'd be happy to have some input from you ppl, or hear how you handled this ? I am really hoping the answer isn't "Should've thought about testing before you wrote that code"....

August 20, 2020 at 06:13PM by shorty_luky99
https://ift.tt/3aHa2QB
New post on /r/flutterdev subreddit:

Flutter for production, is it really ready yet?
Realistic feedback request:Is Flutter actually ready for production, or better for dev experiments still?We're weighing cross-platform mobile solutions and keep going swaying between Flutter or just Kotlin / Swift.So, any production caveats, etc? We're about to sink considerable resources.

August 20, 2020 at 05:59PM by osiris679
https://ift.tt/3l50Ni3
New post on Flutter Dev Google group:

How to display image outside of container.
Hello I want to create a container with text and Image. But my image is not in Fixed size. Please help me how to design widget looking in below image. Images are come from URL.

August 20, 2020 at 06:21PM by gursewak...@gmail.com
https://ift.tt/2Q84y87
New post on Flutter Dev Google group:

How to use RapidApi in flutter Dart
Hello guys, please guide me, recommend me videos or articles, how to use RapidApi? i trying to make love calculator https://ift.tt/3aGuYHz If possible please give me code snippet for flutter, how to get or fetch data from that api with headers???

August 20, 2020 at 07:45PM by Gulam Fahad Ahmed
https://ift.tt/3haOluF
New post on /r/flutterdev subreddit:

Access to Bank transactions within Flutter
I'm looking into making an app that can be used to pull the transactions that show on your bank statement and organize them (similar to the concept of Mint by Intuit); I'm wondering if anyone here knows of a good way to pull these transactions (obviously dealing with sensitive information, so I want to do my research on all the options).

August 20, 2020 at 07:27PM by regag40529
https://ift.tt/31gtFvL
New post on /r/flutterdev subreddit:

What is the best library for creating charts in flutter? What are the best tutorials available for this?
Coming from python and the world of matplotlib I think I am pretty spoiled.

August 20, 2020 at 08:47PM by 11010001101001
https://ift.tt/2QaKMIX
New post on /r/flutterdev subreddit:

Grey information "box" on bottom
Hii,I'm looking for the correct naming of a grey (mostly) box that popup up when an action is performed. It comes and goes by itself without a dialog. Want to implement it, but don't know what to look for. Currently I can't get any example unfortunately.

August 20, 2020 at 08:27PM by JaakUytenhaak
https://ift.tt/3hhml8P
New post on /r/flutterdev subreddit:

Is it legal to use the standard Google "G" logo as a logo in front of my, "sign in with google" button on my sign in page?
Your post body must contain text

August 20, 2020 at 09:01PM by ertyhgfhhhhh6778
https://ift.tt/3gcE2Ff
New post on /r/flutterdev subreddit:

An awesome flutter UI designs
Hello guys,During this lockdown, I tried out new UI designs using Flutter which turned out really awesome📱.You can find these designs on my GitHub:https://github.com/Chromicle/awesome-flutter-uiplease give a star if you like them, any feedback is welcome

August 20, 2020 at 09:34PM by chromicle_3
https://ift.tt/3l0ewqe
New post on /r/flutterdev subreddit:

Hive deletion of filtered object
Hi guys, Is it possible to delete a filtered object from a hive box. If so, how? It got a box which I Filter in dart and I want to delete an object from the filtered list. Because the indexes get messed up by the filter stuff I can’t use box.deleteAt

August 20, 2020 at 10:06PM by alixfu
https://ift.tt/3j0MlFP
New post on /r/flutterdev subreddit:

Flutter Web: Why do scrollable a behave this way?
Hello, I've been using flutter web for a while and, as we all know, scrolling on mobile is just so bad. Because of this I've been trying to understand where the issue is and how to fix it in the flutter engine's source code.For the people that don't know, flutter uses a canvas to display content on the browser which contains itself more canvases and so on. If the canvas has to display a vertical scrollable widget, the height of such canvas is equal to the height of the widget which, in most cases, is more than can fit in the viewport of the browser.Now here's when it starts to make no sens: html pages have no such thing as scrollables, unlike android and ios the page adapts to the content's size and, if the content that the page has to display is bigger than the browser's viewport, the page simply becomes scrollable. Flutter web completely ignores this and just hides the content that cannot be seen so that the page remains not scrollable. When the user scrolls, because the browser has no idea that the page can be scrolled, the canvas moves so that it looks like there was a scroll, but obviously this takes a lot of resources and feels laggy, especially on mobile devices to the point where I cannot recommend Flutter web Beavis of performance issues.Now my question is: is this bad design or is there a genuine reason why the Flutter Web team decided to go with such a weird system?

August 21, 2020 at 12:38AM by Alex0589
https://ift.tt/2E3belC
New post on /r/flutterdev subreddit:

Has anyone used Flutter Web for production?
I have worked with Flutter for a while and I have loved it. I prefer it a lot more to traditional web dev things like React JS. I understand that Flutter Web is in beta right now. But I am curious to know if anyone has used Flutter Web for production web apps. If so, how was your experience like? What issues were there (if any)?I am curious to hear from you guys. Please let me know about this since I want to give Flutter Web a try for my project. I appreciate all your answers. :)

August 21, 2020 at 04:37AM by jazilzaim
https://ift.tt/2FKuIfd