Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
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
New post on /r/flutterdev subreddit:

Custom icons in Flutter
I come from web dev and I used Icomoon (https://icomoon.io) to generate a font with all the icons in my design system to use it in a single component in my app. I wondered if I could do the same for Flutter and the answer is yes: http://fluttericon.com/You can import your icons (svg), name them and export them ready to use with Flutter !

January 26, 2020 at 11:33PM by christopher2k
https://ift.tt/30UB425
New post on /r/flutterdev subreddit:

Firemaps + firebase + flutter Help with Dynamic location
How to set Dynamic Locations or user's location with a defined radius in Flutter and google maps, and
also show "active users" which is only inside "your" radius.​I Think to make it clearer, here's the steps accordingly to procedure.Automatically know "other users ID or icon of some sort" who are online, who are within your radius. *don't show google map interface yet.*Select the "other user ID or icon of some sort who are in your radius" and add function to "Request-To-get-Their-Location"if request accepted the request, then and only then the google map api will come up to screen.​Can you guys help me figure this out?
i found this one who's kindda near the idea: https://stackoverflow.com/questions/59137459/how-to-set-dynamic-location-or-users-location-to-circle-in-google-maps-fluttera little point or api , or any idea how to implement or any help is valuable, thank you so much!im just new to flutter+dart by the way, and i think i love it. Thank you again!

January 26, 2020 at 11:32PM by cxzcolors
https://ift.tt/2RQMoYL
New post on /r/flutterdev subreddit:

Flutter web parse current web pages html ?
I'm using jade/pug outside to include my flutter web build. I have a meta tag that i wish to retrieve from inside the flutter app. Is there a library that lets me parse the current flutter web page documents html? I have no idea how to access the html from current window in flutter.

January 27, 2020 at 03:33AM by tdotz123
https://ift.tt/2TUqy9D
New post on /r/flutterdev subreddit:

Is Flutter a good framework for a startup?
Title.

January 27, 2020 at 08:42AM by pajamalife
https://ift.tt/37uFQFL
New post on /r/flutterdev subreddit:

Stock Watchlist App.
Planning to app more features like live Stock Market data.Find it hereSuggestions welcome.

January 27, 2020 at 09:42AM by Vab711
https://ift.tt/2U13Pc6
New post on /r/flutterdev subreddit:

Flutter Tap Newsletter Week 23 - Articles, tutorials, videos and much more
https://ift.tt/2tTgW4f

January 27, 2020 at 01:21PM by vensign
https://ift.tt/2Gs3uXH
New post on /r/flutterdev subreddit:

Perils of state in StatefulWidget rather than State
A "minor architecture" discussion.I understand that StatefulWidget subclasses are intended to be immutable, and that we tend to store state in a State subclass. (Not talking advanced state management techniques here.)What then, are the perils of storing our model/state in the StatefulWidget class instead of the State class? Since the State instance has a widget property referring to the StatefulWidget, why not store the state there?For example:
class Foo extends StatefulWidget { int count = 0; // state State createState() => FooState(); } class FooState extends State<Foo> { Widget build(BuildContext context) { return Column(children:[ Text(widget.count.toString()), FloatingActionButton( onPressed: doIt ) ]); } void doIt() { setState( () { widget.count += 1; }); } } 
Would those concerns still apply when state is an object, passed down to the State instance?For example:
class Foo extends StatefulWidget { final counter = Counter(0); // state State createState() => FooState(counter); } class FooState extends State<Foo> { final counter; FooState(this.counter); Widget build(BuildContext context) { return Column(children:[ Text(counter.stringValue()), FloatingActionButton( onPressed: doIt ) ]); } void doIt() { setState( () { counter.increment(); }); } } 


January 27, 2020 at 02:19PM by yjblow
https://ift.tt/37zHki4
New post on Flutter Dev Google group:

Why is my @mipmap and @style not knowing where to find the files after an update of Flutter and Android Studio?
Hi Flutter people, A while ago my designed Flutter app was running like it should in simulation (virtual device) in Android Studio. After some updates of both Flutter as Android studio I am not able to get the app in simulation agian. I am new to Flutter and Android studio (have a little

January 27, 2020 at 09:03PM by jeroen kiewiet
https://ift.tt/36wcntZ
New post on /r/flutterdev subreddit:

Can you use Firebase push notifications to the Flutter web version?
I am pretty new to flutter but I need to make something quick for the web using Firebase. Are push notifications available for the web version of flutter?

January 27, 2020 at 08:59PM by stavro24496
https://ift.tt/36yHCEy
New post on /r/flutterdev subreddit:

I want to start blogging about Flutter. This is my first article after months. I would appreciate any feedback. Topic: Rebuilding the default counter app with Provider package as state management solution.
https://ift.tt/37BkVB6

January 27, 2020 at 09:45PM by Sonius94
https://ift.tt/37wGjYn
New post on /r/flutterdev subreddit:

How to use the newly added Contexts interface in the Dart Sentry package and how to avoid keeping your DSN in git
https://ift.tt/36zLrJI

January 27, 2020 at 11:57PM by mksrd
https://ift.tt/30Xoejw
New post on /r/flutterdev subreddit:

Use Rive and Created an Animation for Flutter App. This is my first video that i am posting here. I attempted to create the Google Pay Animation using Rive and integrated that with my Flutter App. Feedback and comments are appreciated!
https://youtu.be/wWHEgTXKeI0

January 28, 2020 at 02:52AM by Baradwaj
https://ift.tt/2Rwsi7d