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

Flutter audio libs
Hi everybody,I'm playing with Dart and Flutter and it seems awesome.I'd like now to try to create some audio player, but it seems that there are not so many available features / libs yet.I've just found 4 plugins, cool to have indeed, but they don't provide me with all the features I'd like.How would you proceed in this case? is it easy to integrate C++ or other language libraries?

June 08, 2019 at 02:54PM by morriconus
http://bit.ly/2Wx3EHC
New post on /r/flutterdev subreddit:

changeNotifierProvider from Provider package doesn't provide values inside a nested widget.
so, i am trying to use changeNotifierProvider from Provider package to implement state changes but it's giving me hard time.I have the following code:// main widgetNavigator.of(context).push(new MaterialPageRoute(builder: (context) {return ChangeNotifierProvider(builder: (_) => SellItemChoosen(),child: SellItem(),);}));// SellItem widgetNavigator.of(context).push(new MaterialPageRoute(builder: (context) {return new ChooseCategory();}));}inside SellItem widget i can access SellItemChoosen but when i navigate to ChooseCategory route from within SellItemi can't access SellItemChoosenAm i doing something wrong here?

June 08, 2019 at 03:54PM by yunikmaha
http://bit.ly/2I2Xp5w
New post on /r/flutterdev subreddit:

expand_widget | easily expand and retract a widget collection or text.
http://bit.ly/2WwD4hW

June 08, 2019 at 05:29PM by Purple_Pizzazz
http://bit.ly/2KyFK7s
New post on /r/flutterdev subreddit:

Is Flutter right for my project? Looking for input from experienced devs.
Without going too much into boring background details, I'm rolling the dice on a project I've been daydreaming about for a while. The service will be similar to AllTrails. Basically a catalog of places with some highly relational graph data structures but with the ability for users to donate money to the maintainers of those places. The structure currently looks something like this:A graph database powers the backend storage. I currently have a DGraph database running with the foundations of my schema worked out. A server written in Go exposes data to clients through an HTTP API and handles user state. I will also require an events server to fire off emails, push notifications, etc.A client written in Quasar (a Vue.js-based framework similar to Vuetify with more features) for PWA functionality.My first plan was to go web-first then learn Quasar's mobile app building toolchain (Cordova) to publish "native" apps. A PWA would accomplish 99% of what I want so I was going to go with that but Safari still lags horribly and iPhone support will be critical. I also know, at least on Android, the browser API for GPS location is drastically less precise than the native API. That's also important to me. Native apps would be better but if I go that route I need cross-platform capability and I will actually need a web app as well for certain functionality that's just not practical on a mobile screen.Then I discovered flutter-web is a thing in development and I've been digging into that for a few days. If I could make a cross-platform Android and iOS app that could also be served as a web app for desktop keyboard/mouse functionality that would be the best of all worlds.While in that rabbit hole I discovered that Firebase, through a bit of work, can serve up GraphQL and also has a complete auth/user management system. So now I'm also considering scrapping my current backend and refactoring it to work through Firebase which has tight integration with Flutter.I'm interested in any input related to framework choice and Firebase but I have a few specific questions.Can Flutter apps display photospheres? There's strangely zero information coming up on this via Google.The Play Services Location API is supposed to be the most accurate way to get location information on Android. Do any of Flutter's location libraries use this for precise location information? Can they report the accuracy of results similar to how Google Maps displays a variable circle to represent the accuracy of location data?What is your opinion on flutter-web for exposing functionality which is not practical outside of a large screen with a keyboard and mouse?Realistically how critical will having a Mac and/or iPhone be? I have a busted iPhone sitting in a drawer somewhere I could probably repair but I'd rather not buy a Mac just for publishing an iPhone app.Thanks.

June 08, 2019 at 07:03PM by Fantastitech
http://bit.ly/2EYH7ca
New post on /r/flutterdev subreddit:

PSA: If you're building a Flutter app, consider subscribing to flutter-announce@. Flutter team shares long-form updates like planned breaking-changes or new tooling features there.
http://bit.ly/2I36nzV

June 08, 2019 at 08:46PM by EngineerScientist
http://bit.ly/2ItXyhx
New post on /r/flutterdev subreddit:

Why Flutter is the next-gen mobile app development framework?
Google has always been a game changer when it comes to digital evolution. In the world of software and mobile app development, Google has introduced an open source framework, which is Flutter. It came into public use in Mobile World Congress, 2018. It is Google's creative framework for cross-platform app development.Though it is a new release, it has started gaining popularity, as many companies across the world are using its single codebase SDK for porting their current cross-platform apps.Behind the popularity there are reasons, and know more Why Flutter is the next-gen mobile app development framework? click here

June 08, 2019 at 11:56PM by vivekbagdai
http://bit.ly/2R19yeq
New post on /r/flutterdev subreddit:

Futures, async, await: Threading in Flutter
http://bit.ly/2EZVBIE

June 09, 2019 at 12:47AM by EngineerScientist
http://bit.ly/31lAl9O
New post on Flutter Dev Google group:

Error retrieving device properties for ro.product.cpu.abi:
Error retrieving device properties for ro.product.cpu.abi: Launching lib\main.dart on Android SDK built for x86 in debug mode... Initializing gradle... Resolving dependencies... --------- beginning of main 06-08 20:03:31.446 I/Finsky ( 5285): [371] naa.run(4): Wrote 104 rows to frosting DB

June 09, 2019 at 02:07AM by me you
http://bit.ly/2Mxg65I
New post on /r/flutterdev subreddit:

What is the right way of building infinite list view with FutureBuilder and Provider?
FutureBuilder( future: getPosts(), builder: (BuildContext context, AsyncSnapshot snapshot) { return makeListView(context, snapshot.data); } Widget makeListView(Data data) { final notifier = Provider.of<MyNotifier>(context); notifier.setPosts(data); return buildListView(); } void loadMore(BuildContext context) { final notifier = Provider.of<MyNotifier>(context); //handles pagination, fetches new posts then notifies but wouldn't this cause infinite loop? commentsNotifier.fetchOtherPosts(); } 
I'm trying to build an infinite listview using FutureBuilder and Provider. This is what I'm thinking right now but I could also setPosts() like, future:getPosts().then(setPosts()) Also when loadMore method sets the new posts wouldn't it cause infinite loop? What is the right way of doing this?

June 09, 2019 at 11:22AM by morgothraud
http://bit.ly/2I2sshU
New post on Flutter Dev Google group:

Synchronous call to Flutter from a native plugin
Hello everybody. I am coding a bridge between Flutter and a native software. It is easy to call a native function and process the return value in Dart, awaiting for the future. But I do not know how to do the opposite : call a Flutter function from a native software and process the return value

June 09, 2019 at 03:35PM by Larpoux
http://bit.ly/31jLsQy
New post on /r/flutterdev subreddit:

How can I check in my Firebase whether a user interacted with something?
Hi,​im building a flutter application right now similar to reddit and have to ensure that a user can only upvote once. How can I implement this in my application using Firebase?​In my Firebase I have a collection called "posts", where all the posts are stored. Within that I was thinking on adding a list of users, who already have upvoted the post.​Is that the right approach and technically possible? (I don't think so).​Thanks for any replies,Ducky

June 09, 2019 at 02:40PM by DevDucky
http://bit.ly/2WTSV9D
New post on Flutter Dev Google group:

Synchronous call to flutter from a native plugin
Hello everybody. I am coding a bridge between Flutter and a native software. It is easy to call a native function and process the return value in Dart, awaiting for the future. But I do not know how to do the opposite : call a Flutter function from a native software and process the return value

June 09, 2019 at 04:04PM by Larpoux
http://bit.ly/2ZfOaER
New post on Flutter Dev Google group:

macOS 10.15 beta error related to analysis_server.dart.snapshot
Hi, I've updated to macOS 10.15 Beta, and when I try and run the Dart analysis in Android Studio, I now get the prompt: *“kernel-service.dart.snapshot” can’t be opened because it is from an unidentified developer.* There were several other prompts, but I was able to approve those under

June 09, 2019 at 10:46PM by Adam Jon Richardson
http://bit.ly/2XzzoIQ