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

Why does double.floor have bad performance?
ContextWhile porting KdotJPG's OpenSimplex2 to Dart (context), I discovered the following function (port + comments by me):dart int fastFloor(double x) { // We cannot simply return x.toInt() because casting to an integer floors // towards zero (truncates) and we want to floor towards negative infinity. final xi = x.toInt(); return x < xi ? xi - 1 : xi; }PerformanceThe name "fastFloor" surprised me - I thought: this cannot be faster than double.floor, right?So, I ran some benchmarks and I discovered:**fastFloor is about 20% faster than floor** (tested for values between -10000000 and 10000000 on macOS)IssueI have opened an issue about it here: https://github.com/dart-lang/sdk/issues/46650DiscussionMy question is: why is that the case? Does anyone have an idea why this could be?

July 17, 2021 at 04:37PM by creativemaybeno
https://ift.tt/3rgX4kG
New post on Flutter Dev Google group:

when I use Flutter SDK 2 these problems appear
E:\flutter\bin\flutter.bat --no-color pub get Running "flutter pub get" in Jet... Because multirest depends on google_map_location_picker 4.1.2 which depends on intl >=0.16.0 <=0.16.1, intl >=0.16.0 <=0.16.1 is required. So, because multirest depends on intl ^0.17.0,

July 17, 2021 at 05:53PM by Naji Alkhasha
https://ift.tt/3wO8sG7
New post on /r/flutterdev subreddit:

Dear Freelancers, can you share your journey?
/r/androiddev/comments/om5jcm/dear_freelancers_can_you_share_your_journey/

July 17, 2021 at 06:42PM by caclo
https://ift.tt/3irsVvk
New post on /r/flutterdev subreddit:

4 Ways To Set Background Color Of Screen In Flutter - For Beginners
https://ift.tt/3z4HX0o

July 18, 2021 at 07:29AM by athira_reddy
https://ift.tt/3wNaVR4
New post on /r/flutterdev subreddit:

I made Simple Riverpod MVC +S Example APP
https://ift.tt/3ihwaVU

July 18, 2021 at 09:55AM by jpohpoh
https://ift.tt/2Tjs9I9
New post on /r/flutterdev subreddit:

FlutterForce — Week 129
https://ift.tt/3zcsdJ8

July 18, 2021 at 11:05AM by flutterist
https://ift.tt/3hMEFJD
New post on /r/flutterdev subreddit:

App Feedback
Hey Everyone, Noob dev here!I built a clone of Microsoft Teams based on #Flutter using Stream Chat SDK & JItsi Meet SDK with fully functional video conferencing and integrated chat capabilities. I have tried to maintain a well documented Github repository following the best iterative development practices & UI/UX principles. The repo also includes Wiki pages to help navigate through the codebase.I have done my best, It would really mean a lot if you check out the repository (Star it if you like XD) & install the app! Please do provide your feedback :)Github Repository: https://github.com/Karanjot-singh/microsoft_teams_cloneVideo Demo: https://youtu.be/gfOrD80QvccFAT APK: https://drive.google.com/drive/folders/1HlLm0pWeH9ETQ5cIsXBsXDIgd5tPvsrT

July 18, 2021 at 10:32AM by rocketsingh6
https://ift.tt/2ThvzLl
New post on /r/flutterdev subreddit:

Shrimad Bhagavad Gita App developed using flutter.
Hello, flutter devs,I have recently developed a flutter app for reading Shrimad Bhagavad Gita - The holiest scripture in Hinduism.Play Store LinkPlease rate it and provide feedback for necessary improvement.Thank You

July 18, 2021 at 12:44PM by Various-Truck-6929
https://ift.tt/3exI3Gh
New post on Flutter Dev Google group:

PayPal with braintree
I keep getting this error: Error: MissingPluginException(No implementation found for method start on channel flutter_braintree.drop_in) Any help???

July 18, 2021 at 12:37PM by Mahmoud Esmail
https://ift.tt/3xPxHsW
New post on /r/flutterdev subreddit:

Hey guys uploaded a new video in Flutter “Shoes Delivery app with slidable widget” on my youtube channel. Have a look and let me know your feedback on the comment section. Thank you.
https://youtu.be/-pWEX2sCHFo

July 18, 2021 at 02:32PM by praveenthedesigner
https://ift.tt/3xUBcOU
New post on Flutter Dev Google group:

Brand New - Need Help With Lesson 1
I've been banging my head on this one. Likely staring me in the face. Help appreciated. Lesson 1: https://ift.tt/3Bh6Vfe Ran the code in Step 1 ok. Added the english_words package, ran pub_get. and confirmed it was installed. Pasted

July 19, 2021 at 12:42AM by David LeVine
https://ift.tt/3wOkmjd
New post on Flutter Dev Google group:

Im having trouble with android licenses
I am sure I had already accepted android licenses but when solving another problem with emulators and when running flutter doctor again it said the status of the licenses was unknown, when trying to run flutter doctor --android-licenses in command prompt an error appeared and when I searched in

July 19, 2021 at 03:20AM by Diego del Hierro
https://ift.tt/3xSyNny
New post on /r/flutterdev subreddit:

State Management With Timers
So I have a few scenarios that I'm curious how experienced devs would approach. The premise is simple: I have multiple widgets who's display depend on a timer. For example, a text widget that counts the seconds of current time, like a digital clock. What would be the most efficient approach?An ancestor widget that calls setState each second the timer runs its callback. Note that there could be widgets in between this ancestor and the widgets that need the state change value. Usually we try to push those changes to the leaves.Keep the state in the widgets that need the value, which would be the closest ancestor to the text widget in my example. This would mean creating a timer for each of these widgets. I would guess that the timers could be out of sync due to this approach, and build calls might be spread out across multiple frames. That's ok, but would that cause more jank than approach 1Use something like the provider package and wrap the widgets that need the state in Consumers.I'm largely curious about scenarios 1 and 2 - just to see how someone would approach that without breaking out a package or Inherited widgets.

July 19, 2021 at 05:34AM by SquatchyZeke
https://ift.tt/2UoxkXM
New post on /r/flutterdev subreddit:

Flutter for Single-Page Scrollable Websites with Navigator 2.0
Here is a series of articles: “Flutter for Single-Page Scrollable Websites with Navigator 2.0 “. This series focuses on implementing scrolling and navigation logic for a single page scrollable website. I will also give a talk at the upcoming Flutter Global Summit on this topic.Part 1: IntroductionIn the second article building the scrollable content lazily using a ListView, scrolling programmatically to an index, and notifying the first visible index while scrolling is explainedPart 2: Scroll to PositionIn the third article, a similar UI to the previous one is built lazily using a PageViewPart 3: Scroll to PageIn the fourth article, we learn how to live with building all the sections of the scrollable widget at once in a SingleChildScrollView + Column.Part 4: Ensure VisibleIn the fifth article, we will study lazily building a scrollable widget with varying-sized sections like an illusion using the 3rd party #ScrollablePositionedList libraryPart 5: Scroll to IndexWe start implementing the navigation logic with the sixth article using the #Navigator2 API.Part 6: NavigationIn the last article, we will use query parameters instead of path variables in URLs and study parsing & restoring URLs according to app state changes, browser back / forward button clicks.Part 7: Query Params

July 19, 2021 at 07:15AM by ulusoyapps
https://ift.tt/3ksb2z0