Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on Flutter Dev Google group:

Just updated Flutter from 1.22.2 from 1.22.3
Just updated Flutter from 1.22.2 from 1.22.3. My plugin "firebase_admob: ^0.10.1" is causing problems. It's now throwing errors like crazy and I don't have an answer on how to fix it. FYI; I have tested this plugin in several different basic examples and I get the same results. FYI 2: I have 25

October 31, 2020 at 12:18AM by jerry hamby
https://ift.tt/35OyMV9
New post on /r/flutterdev subreddit:

<b>What are your thoughts on Navigator 2.0? (And Flutter navigation in general?)</b>
I'm a React Native developer who's been learning flutter for about a week or so and I've got to say that I really love it. For the most part, it seems to do <strong>everything</strong> better than RN, and the static typing and structured widget arguments is soooo much nicer than JSX.That said, one area which I'm not so sure about is the navigation. In React Native, React-Navigation explicitly has multiple types of navigators (Stack, Tab, Drawer, Switch etc) and allows nesting them whilst also being able to call any navigator (without even having to specify which one, provided screen name are unique) within the stack from any screen/component. However, looking at Flutter's built-in Navigator I'm somewhat baffled by its design.Navigator 1.0Having <code>push</code>, <code>pop</code> seems to be a good start, but there's still essentially only one big stack, with limited ways of manipulating the stack (e.g. not being able to pop one below, clear entire stack except current).Navigator 2.0An explicit Navigator widget seems to be a good step in the right direction in my opinion, so that you can have multiple independent or nested navigators depending on which part of the app you're in. That said, I'm not entirely keen on the how the pages argument of the Navigator is used. From <a href="https://medium.com/flutter/learning-flutters-new-navigation-and-routing-system-7c9068155ade">this tutorial</a> I gather that you should have some sort of condition in your pages argument which checks if there should be a certain page a la <code>[ RootPage(), if (_book != null) BookPage(book) ]</code> but this seems terribly constricting due to the fact that now if I want to add another route for movies it would then be <code>[ RootPage(), if (_book != null) BookPage(book), if (_movie != null) MoviePage(movie) ]</code> , which means I can't have the following stack <code>[ Root, Movie, Book ]</code>. Or more importantly I can't have a stack of multiple different books (e.g. navigating through recommendations).The only way I can see to remedy this would then to have pages as <code>[ RootPage() ]</code>, then use the 1.0 navigator api to <code>push</code> and <code>pop</code> normally. That said, whilst I'm aware the 1.0 and 2.0 APIs can be used in conjunction I've yet to see any actual guides or documentation showing this case. One such scenario that isn't clear on is if I call <code>Navigator.push(AnotherRoute())</code> whilst I'm on <code>[ RootPage() ]</code>, what happens if within that new page I call a <code>setState</code> on that <code>_book</code>? Will my stack be <code>[ RootPage(), AnotherRoute(), BookPage() ]</code>, or <code>[ RootPage(), BookPage(), AnotherRoute() ]</code>?Named RoutesAnother aspect I'm not terribly fond of is the route naming convention (and the behaviour that it implies). There seems to be a very large effort in making navigation compatible with web URLs, but I'm baffled as to why this is the case when native application navigation and web URL navigation are fundamentally so different. For example, when I push the routes <code>Book</code>, <code>Movie</code>, <code>Book</code>, <code>Movie</code> in that order, is my URL now at <code>/book/movie/book/movie</code>? On the web, URL and history stack are two completely separate things yet I think I've skimmed over a good amount of documentation about how to parse this into a stack. Admittedly I haven't gone over the web/URL functionality much and could be entirely wrong about this, I just think its a strange route naming convention.The bigger problem I see is that named routes and are passed into <code>MaterialApp</code>, and not <code>Navigator</code>. Therefore I don't see how it's possible to use named routes in nested navigators (e.g. bottom tabs). In React-Navigation each navigator could register a number of screens, and doing <code>navigator.nav…
New post on /r/flutterdev subreddit:

Mobile Developers Cafe Weekly Issue #12 is out 🎉🎊
https://ift.tt/3earkHH

October 31, 2020 at 05:54AM by iranjith4
https://ift.tt/34Ko1Uc
New post on /r/flutterdev subreddit:

Swiping (effect) like in Discord App
What widgets would you use to recreate the swiping like in the discord app? I guess GestureDetector to handle the swiping itself? I am mainly interested in how you would go about the look : New page does not overlay the old one completely (like a nearly screen size side bar) and the old page gets darker while inactive.

October 31, 2020 at 12:24PM by Coppice_DE
https://ift.tt/2HUoydE
New post on /r/flutterdev subreddit:

Released an android sdk to reduce video streaming costs by up-to 90%
Hi everyoneI am working on an android sdk which can reduce video streaming costs of CDN by up-to 90% using a hybrid decentralized technology. I have opened it up for beta-access for developers to try it out. Looking for feedback w.r.t the technology and any features you would want to have.A web demo is available here https://api.peervadoo.com/test . Click on Add new peer to see the tech in action,Android sdk link :- https://github.com/vadootvpeer/sdk-android

October 31, 2020 at 01:45PM by ANil1729
https://ift.tt/3mDoZI1
New post on /r/flutterdev subreddit:

How to view multiple images from firebase storage in image carousel
I have uploaded my images to firebase now i want to show them in carousel they are multiple images

October 31, 2020 at 02:43PM by ihs_ahm
https://ift.tt/3kLIded
New post on /r/flutterdev subreddit:

Good tutorial for adding functionality to my app?
I know the question may sound weird.Building the UI isn't the problem for me. It's making the app "functional", what is the problem to me. Things like storing data, etc.Anyone can help me out?

October 31, 2020 at 02:26PM by Daaaniell
https://ift.tt/35TR2My
New tweet from FlutterDev:

Do you want to join #AdoptAWidget?!

1. Review the rules and info &rarr; https://t.co/UpohdS1Q2Y
2. Find a widget you know.
3. Improve its introductory documentation.

Add a code or DartPad snippet, references, and an explanation.

💙 Good luck, can't wait to see your contributions. pic.twitter.com/AmfugC4od7— Flutter (@FlutterDev) October 31, 2020

October 31, 2020 at 06:00PM
http://twitter.com/FlutterDev/status/1322584155515953153
New post on /r/flutterdev subreddit:

What do you prefer for Flutter state management
View Poll

October 31, 2020 at 06:42PM by ALOKAMAR123
https://ift.tt/3eg5qm5
New post on /r/flutterdev subreddit:

Added a Deck widget to my UIC package
https://ift.tt/3oMYKAK

October 31, 2020 at 06:36PM by echedev
https://ift.tt/320t0yw
New post on /r/flutterdev subreddit:

Dart on the AWS Ecosystem with Jonathan Böcker
In the latest Dart Developer Show episode, Jonathan Böcker has a fascinating story to share about his work creating the Dart AWS Client packages and how he is using them in production to run diagnostics on his app.Use the links below to jump to any topic that interests you:01:22 -- Jonathan’s background and professional experience02:45 -- AWS big picture overview03:45 -- AWS Lambda05:21 -- AWS Lambda developer workflow08:36 -- Motivation to explore using Dart on AWS Lambda10:17 -- Creation of the Dart AWS Client libraries18:16 -- Use case in production26:11 -- The Dart AWS client open source project on GitHub30:05 -- Final thoughts

October 31, 2020 at 07:04PM by DartDeveloperShow
https://ift.tt/2HOaHFE