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

I started to post interviews with Flutter devs.
Hi, Flutter Community.I've posted a new interview with Aloïs Deniel today. There are some interesting moments:What advice do you have for newcomers in Flutter development?Start by learning the Flutter framework architecture and really understand the bases before starting your app: StatelessWidgets, StatefulWidgets, InheritedWidgets, RenderObjects, Keys, Slivers, Mixins.Once you know the lifecycle of Flutter, everything is clear, and you won’t make the mistakes we see often.What are your favorite Flutter libs/tools right now?The two must-have for me are mobx and provider, which allow keeping a clean codebase. There are plenties of awesome libraries in the community, it is impossible to list them all, but cached_network_image, auto_size_text, and shared_preferences are always part of my pubspec.yaml! I also use my device_preview tool to preview my application on various devices.​I'm not strong with Flutter now, so I'm trying to do something good for the Flutter community in this way.Hope you'll enjoy these interviews.Please, share your feedback and ideas.

January 24, 2020 at 01:11PM by ConstDev
https://ift.tt/38HHCE2
New post on Flutter Dev Google group:

I want inventory management system (POS) source code
Dear team, I want POS system( inventory management) for my app but I don't know any source code so any one available source code so please send me. Thanks Regards

January 25, 2020 at 03:56PM by Indrajeet Patil
https://ift.tt/2GpsqPM
New post on /r/flutterdev subreddit:

Is there any way to get notify if there is newer version of package available
I'm adding multiple packages for my apps. Even during development i see there are new version releases of packages I'm using. Is there any way to get to know if there is newer package available so that i don't have to do it manually?

January 25, 2020 at 05:25PM by BlueBoxxx
https://ift.tt/36skmbx
New post on /r/flutterdev subreddit:

Release Source Code my app MySubscriptions
Hi everybody. Recently i release like open source all the Flutter code of my more recent application: My Subscriptions. In this application i worked with local notifications, background jobs, database, blocs, and a big variety of widgets.One release of this application there is on Google Play at: https://play.google.com/store/apps/details?id=com.antocara.subscriptions&gl=ESThe repo with the source code is in the Github repo: https://github.com/antocara/mysubscriptionsAny question or feedback is welcome. Thanks

January 25, 2020 at 07:11PM by antocarabantes
https://ift.tt/2Gzy8Pb
New post on /r/flutterdev subreddit:

Area there any real examples of how light/dark themes are implemented in Flutter?
There are 100s of tutorials, but they are only changing basic things such as background colors and primary colors, so I just wanted to see how real apps do it.I personally think that there will be some themes (font) that will be applied for the app in both dark and light theme, while it'll mostly be colors that change in light/dark theme. Something like this:
class Themes { static ThemeData theme(BuildContext context) => Theme.of(context); // theme that applies for light and dark mode static TextTheme textTheme(BuildContext context) => theme(context).textTheme.copyWith( display1: theme(context).textTheme.display1.copyWith( fontWeight: FontWeight.w900, ) ); static ThemeData light(BuildContext context) => ThemeData.light().copyWith( brightness: Brightness.light, scaffoldBackgroundColor: Colors.white, textTheme: textTheme(context) ); static ThemeData dark(BuildContext context) => ThemeData.dark().copyWith( brightness: Brightness.dark, scaffoldBackgroundColor: Colors.black, textTheme: textTheme(context) ); } 
But there seems to be something I'm doing incorrectly, because while the theme looks fine in light mode, in dark mode, display1 is still a dark button in the dark theme, even thought the only theme extended is fontWeight. Perhaps I'm using copyWith incorrectly?So does anyone have any examples of apps that have both light and dark themes, but which also have some common theming (for text styles, for example)?

January 25, 2020 at 07:27PM by themindstorm
https://ift.tt/2RurzUl
New post on /r/flutterdev subreddit:

Using MySQL to store Users authenticated using Firebase Auth
I’m in the middle of creating an e-commerce application and want to use a MySQL backend. I am loving the simplicity behind firebase auth integration with flutter, but am kind of lost how I can add authenticated users, both with email and password and auth providers (google, Facebook, etc), to my Users table in MySQL. Is this a common practice? I can’t seem to find in-depth docs on this use case. Thanks in advance!

January 25, 2020 at 10:17PM by beardedblack
https://ift.tt/2uAD7wg
New post on /r/flutterdev subreddit:

Tomorrow at 6:00 PM CET I'll live-stream creating a Flutter app for Dev.to (integrating with REST & GraphQL endpoints)
Hello! I've decided to try live-streaming on YouTube. Tomorrow at 6:00 PM CET I'll start building a mobile app in Flutter for the Dev.to community. The idea is to showcase how to integrate with a REST API. I'll also do a GraphQL integration to compare and contrast these two approaches / architectures. My plan is to have a basic article browsing after 1-2 hours of streaming.As this is my first live-stream ever, I need to figure out how to set up everything by tomorrow. ;) There is no link yet. In the meantime, I invite you to subscribe to my channel to get notified about the session.See you tomorrow!

January 25, 2020 at 11:02PM by zaiste
https://ift.tt/2NTTSt1
New post on /r/flutterdev subreddit:

I have a million dollar app idea
Trying to build this amazing app that has a great potential.Only thing is I’m caught up with school (MSc Computer science) wanna work with great developers and we can be partners.This is a long shot but if you wanna know more PM

January 26, 2020 at 12:55AM by geeky237
https://ift.tt/2vnb2ZD
New post on /r/flutterdev subreddit:

Pushing Deep Routes
How can you push deep routes? I know it works on initial route but how can i do it on push?Navigator.push(‘a/b/c’)I want the stack to look likec b a

January 26, 2020 at 01:30PM by il3g3ndry-ws
https://ift.tt/36vAfxI
New post on /r/flutterdev subreddit:

Pycharm is driving me crazy with autoformatting when I alt+tab
I can't seem to find any key bindings or options for me to turn it off.Whenever I alt +tab it automatically format my code, it's annoying as usually I have not finish the line of code and it breaks my code and cursor placement

January 26, 2020 at 03:33PM by RevolutionaryRow0
https://ift.tt/2Grr32N
New post on /r/flutterdev subreddit:

It's been weeks and can't make a decision
It's been weeks and I still can't make a decision, I don't know if I should switch to flutter after 5 month of native, because I am really starting to hate android development, I tried flutter and really liked it but I am worried flutter may end up like other multi platforms framework like Ionic and react because they were hot too then disappeared, also I didn't made any good app with native so I think all that time will be for nothing.

January 26, 2020 at 03:33PM by Hiwa_47
https://ift.tt/38R7FJ1
New post on /r/flutterdev subreddit:

Is there any open source app where I can read some IAP implementation?
I’m looking for some IAP implementation, possibly from a real app and not from a tutorial.

January 26, 2020 at 04:02PM by MrAlec95
https://ift.tt/2TXrbze
New post on /r/flutterdev subreddit:

What's the difference between the BLoC pattern and MVVM?
The two state management patterns seem very similar to me and I'm unable to find a conclusive answer online. Is there really a difference, or is "the BLoC pattern" basically the name for MVVM in Flutter-land?

January 26, 2020 at 07:54PM by doppio
https://ift.tt/2uCVAba
New post on /r/flutterdev subreddit:

FlutterForce — Week 62
https://ift.tt/2NYIR9C

January 26, 2020 at 10:05AM by flutterist
https://ift.tt/2U0tnpp
New post on /r/flutterdev subreddit:

sliding_up_panel v1.0.0 update! Support for nested scrolling!
Hey guys! One of the most requested features for the sliding_up_panel package has been nested scrolling (linking the scroll position of the panel content with the position of the sliding_up_panel).https://raw.githubusercontent.com/akshathjain/sliding_up_panel/master/screenshots/example.gifGood news! As of yesterday, I just pushed v1.0.0 to pub that incorporates this functionality. Check it out:pub.dev: https://pub.dev/packages/sliding_up_panelGitHub: https://github.com/akshathjain/sliding_up_panelIf you like this package, please take a moment to star it on GitHub. Pub doesn't release download statistics, so that's the only way I know people are enjoying it. Thanks!

January 26, 2020 at 09:57PM by akshathjain
https://ift.tt/2O0uVMu
New post on /r/flutterdev subreddit:

Architecture Question: Instant Continuous Saves vs. Save / Discard Changes Workflow?
Hey Everyone,I have been working on an app for a client that has a lot of offline CRUD operations. There are Clients, and each client contains a list of Items. Each item can also contain lists, including lists of voice memo recordings that are saved as files using flutter_sound. (3 layers basically)I have been struggling with save workflows, the ability to discard changes, the need for a save button, etc. It seems like there are so many corner cases / "what if" scenarios, that it's easier to implement a continuous save (google docs like) scenario.Before I refactor everything, I wanted to get advice.I'm using Hive as my local database (all objects are extended from HiveObject and have a save() function), and Provider as my global state.Option 1: Edit / Save Workflow With Save Button
In this architecture (the one I've currently implemented), you can start editing an item. You can click back and choose to discard all edits, or you can hit save. When you hit save, a save process is run to update the local database with the latest version of the Item object.This presents challenges because you can record voice memos to the item. And handling the file storage / deletion, and local state saving, and syncing that with database on save, or deleting on discard is starting to get complicated.This seems like it grows in complexity and adds additional "what if the user does this, then that, then discards, or does those things then saves, or does those things, then closes the app without saving, etc.)There's also the added complexity of storing local state changes while the user is editing things, and then committing them to global state and database on save (giving the ability to discard).From a user perspective, this seems most traditional for non-tech savvy people (the user base is older)Option 2: Continuous Saving (Like Google Docs)
Basically, every time a change happens (textField onChange, new recording is added), the original object is instantly updated because it's connected to provider global state. And I also call the HiveObject save() function on the object to commit the change to local persistent storage instantly too. So everything is just always saved. You can close the app at any time and not lose data.In this scenario, it seems like there is an order of magnitude less complexity because the workflows are eliminated. The only caveat is that the user is incapable of hitting the "undo" button if they delete a field of text and want to instead discard their changes. I'm not sure how I would handle an undo situation yet.From a user perspective, this seems like it would work fine for millennials who are used to not having a save button. I don't think a lot of apps have undo buttons either.Thoughts?

January 26, 2020 at 09:53PM by boon4376
https://ift.tt/2tRGZJ6