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

Local to remote DB (HiveDB/Firestore)
Hello everyone,I'm working on a app which is offline first. You don't have to sign up / login when you install and launch the app for the first time: you can use it straight away.Everything is stored locally with HiveDB.Now I'm trying to provide a premium option, which give you the ability to have cloud storage and sync between your devices.When you get premium, you only have to sign up at this particular moment.I've searched a lot about this, but I didn't found any solution or public repo and it seems that offline/backend sync with Flutter is a complicated topic. From what I've seen, either :​- You are a experienced dev and you build your own offline/backend sync with whatever remote and local db you are using (in my case HiveDB sync with Firestore/other)- You work with Firestore from the start and use offline data persistence (caching)​Since I'm not a experienced dev, I wanted to go with Firestore and give up Hive as a local db. But the thing is from what I've read, it is not possible to use Firestore local storage persistence without users to sign in.What do you think is the better architecture for this kind of app ?​- Firestore from the start, using anonymous login so users don't have to sign up until they want to get premium (is that even possible ? Or do users have to login in any cases with Firestore)- Keep HiveDB until the user get premium and sign up, where from now HiveDB is not used anymore; all the data is transfered to Firestore and offline data persistence take care of offline data access.I imagine this solution required a lot of boilerplate code in the business logic parts of the app.​I see more and more apps using "late sign in" (I didn't found a better name haha) and IMO it's a superior solution which makes users life easier.

September 10, 2020 at 10:04AM by Kadarach
https://ift.tt/2Frspxd
New post on /r/flutterdev subreddit:

Flutter visual Node system ?
Hi all,I'd like to know if anyone of you has had any experience creating a visual interface in flutter based around nodes (like Luna, Nuke, Blender, rete.js ...) ?Here are a few links to some attempts I could find but nothing seems quite finished :https://stackoverflow.com/questions/59717952/flutter-directed-graph-can-i-use-custompainter-class-with-custom-widgetshttps://stackoverflow.com/questions/55559960/flutter-connected-node-graph-of-widgetsI'd love to work on a library but I don't feel like I've got enough experience to do so, if anyone of you is interested I'd love to collaborate, I really believe that flutter has a great future :)Thank you

September 10, 2020 at 11:38AM by Sebraecha
https://ift.tt/32fap22
New post on /r/flutterdev subreddit:

A complete Provider course?
Is there a nice and complete provider tutorial?I followed some tutorials but they don't cover all the use cases. In particular, I struggle with the provider context; in some cases I can't access the provider (using Provider.of<T>(context)) from some widgets that should be descendants of the provider in the widget tree.

September 10, 2020 at 12:42PM by sfabio1
https://ift.tt/2DKD0Tx
New post on Flutter Dev Google group:

how to filter listview
hi guys. i have been struggling how to use filterchips. in my streambuilder i filter the stream using where query for (city) and i need to filter the data again lower down with another list of (concepts) and i have no idea how to implement it . can someone help? ths is my code int

September 10, 2020 at 01:48PM by reza7....@gmail.com
https://ift.tt/33gUccc
New post on /r/flutterdev subreddit:

Flutter MaterialApp with navigatorKey and key is not restarting
I asked this question on StackOverflow. It got answered but I was asking more about the why does this happen than the how to solve it. So, if someone can help me to understand this, I will be really grateful.https://stackoverflow.com/questions/63822655/flutter-materialapp-with-navigatorkey-and-key-is-not-restarting

September 10, 2020 at 02:22PM by limonadev
https://ift.tt/3jXSAL0
New post on /r/flutterdev subreddit:

Flutter in_app_purchase vs. square_in_app_payments, which one do you use and why?
View Poll

September 10, 2020 at 05:41PM by cannotelaborate
https://ift.tt/3k656IA
New post on /r/flutterdev subreddit:

Where to read minor release changes (1.20.3)?
Flutter recently updated to 1.20.3, but it looks like the last release notes only cover the 1.20.0 release.Where can I read release notes for minor releases?

September 10, 2020 at 05:35PM by bacoTop
https://ift.tt/33fvKrJ
New post on /r/flutterdev subreddit:

How i can study flutter and where
Any course or any help

September 10, 2020 at 05:26PM by otaku_300
https://ift.tt/3m7FQU7
New post on /r/flutterdev subreddit:

Lightweight, Open-Source CMS Framework in Flutter?
I did a little digging around on Google and didn’t quite find anything. I’m wondering if there’s an open-source CMS type framework that’s lightweight enough to build on top of that can handle a lot of the standard requirements of most apps. Things like authentication, pages, menus, sensors, etc. Something that you can build or buy the design for and has a community of plugins for functionality. Think Wordpress, but more lightweight and for mobile apps and/or PWA, so maybe do away with the GUI interface for configuration. If not, maybe there’s something similar with another SDK that’s cross platform? We’ve committed to Flutter and we like what Pub offers, but it also still requires some development time to launch. It’s not too late for us to switch SDKs if needed. Something like this might save a little development time, but I’m new to mobile dev, so I’m not sure if anything like this might be too heavy for mobile. Suggestions?

September 10, 2020 at 06:00PM by joeyda3rd
https://ift.tt/2RfekWk
New post on /r/flutterdev subreddit:

Are the changes to Firestore syntax in the latest version better or worse?
View Poll

September 10, 2020 at 07:14PM by rippleVanShipple
https://ift.tt/3bMA45w
New post on /r/flutterdev subreddit:

iPhone’s today list ui clone.
iPhone Today View, it's what you can see on your iPhone when you swipe right.I always like how widgets goes backward after they come to the top.Today I recreted this behavior on flutter.I hope It will be interested for someone. This is my first post.https://github.com/kherel/flutter_fun

September 10, 2020 at 07:09PM by kherel
https://ift.tt/35qn18G
New post on Flutter Dev Google group:

Feeling curious
[image: se.png] Hey guys so i am feeling a bit curious and sort of confused, why does the return Divider() above doesn't stop the function from running continiously

September 10, 2020 at 08:51PM by Sam Odiagbe
https://ift.tt/2RrlMy1
New post on /r/flutterdev subreddit:

Is there a quick and dirty reference on the considerations that need to be addressed for developing for each of Android and iOS app stores?
Thought it might be helpful for novice developers and hobbyists such as myself to have a checklist of sorts.

September 11, 2020 at 12:04AM by Akandoji
https://ift.tt/2FlsWkF
New post on /r/flutterdev subreddit:

Flappy Bird in Flutter Web
Hello. I am learning Flutter web. Then, I made customized flappy bird this time.flappy bird by flutter webbut, it is still in development. I have no idea how to detect collision. If you have any idea, please give me some comments on the issue and any PR is so much welcome. Thank you in advance.My Github ReadMe

September 11, 2020 at 12:32AM by x0ww0x
https://ift.tt/2GOFT78
New post on Flutter Dev Google group:

full stack
Guys, I want to start learning Flutter but I just want to know can I make frontend and backend apps using dart language? Thank you

September 11, 2020 at 12:46AM by Muhammad Afif
https://ift.tt/2GFuWVd
New post on /r/flutterdev subreddit:

SliverPersistentHeader dynamic height
the SliverPersistentHeader widget, exactly its required param SliverPersistentHeaderDelegate requires height to be provided in minExtent and maxExtent properties.It's difficult to achieve if you have text there, and let's be honest, almost every time you have a text there, what else? And the text is a customizable property on user device - each of us can increase and decrease the font size in system settings. Apart from text getting bigger it may need to break into multiple lines. Oh, and devices width vary. So whatever height we provide to mentioned properties - it's far from accurate.What's the best way to handle it?I want to replace in my app Well Spoken "Learn mode". When the user scrolls the list of vocabulary I would like the navigation bar to disappear. However, during the tutorial stage - I would like thet block of introductory rich text to remain sticky to the top of the screen. I've already achieved it in my development version, but I had to hardcode the numbers.Appreciate feedback.

September 11, 2020 at 01:48AM by chrisrutkowski
https://ift.tt/3bTAN52