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

My first flutter game app.
Hey everyone, I have recently started learning flutter and really happy from this transition from Ionic to Flutter. I've made a few apps with ionic and have good experience in that but I wanted to try out flutter. So for my Android Project Lab in my current semester at university I tried building a game application using flutter. I've shared the code on github and link can be found here: https://github.com/AkashRajpurohit/Spell-ITI'm still a beginner so the code may not be the best possible way to implement it but I'll definitely be getting deep dive into flutter and try to improve my code overtime. Any feedbacks or suggestions would really be appreciated. Thanks

November 19, 2019 at 05:09AM by Developer_Akash
https://ift.tt/2QvGygv
New post on /r/flutterdev subreddit:

Why does the BLoC pattern require a new state to be yielded after each event?
I don't have the most complete understanding of the BLoC pattern as I have only been experimenting with it for a few weeks, however for the most part I have really enjoyed using it. One thing that I have been wondering about is why a new state must be yielded after an event is mapped to a state.In a recent project I was working on, I wanted to manipulate a single item in a list that was part of the state, however it did not function correctly as I was not yielding a entirely new state. The only way that I thought could have corrected the issue was by copying the list, altering the item, and generating a new state with the altered list. This seemed incredibly wasteful, so I opted to look into other options.I found that provider solved this issue. I was able to alter the list and then call notifyListeners(). Overall, this seemed much cleaner. Am I implementing or understanding BLoC incorrectly, or is this intended?Along with the questions above, I am also wondering if there even is a big difference between BLoC and provider. Aside from returning a new state, they both seem incredibly alike. BLoC does seems to enforce more separation of components (Event // State // BLoC), however other than that, is there a significant difference?Thanks for any insight!

November 19, 2019 at 04:47AM by banana_shavings
https://ift.tt/2OnhaXy
New post on /r/flutterdev subreddit:

Create Chrome Extension Running flutter.
I was able to create a chrome extension with flutter. Fairly straight forward process to create the extension and get it to load.Build your web app.Go into the build / web foldercreate a manifest.json fileand simple json info to get it to load{
"name": "Flutter Ext",
"version": "1.0",
"description": "We built a Flutter Extension!",
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
"browser_action": {
"default_popup": "index.html",
"default_icon": "/favicon.ico"
},
"manifest_version": 2
}From here I just loaded the build / web folder into chrome extension

November 19, 2019 at 02:31AM by moehagene
https://ift.tt/32Y2mE0
New post on Flutter Dev Google group:

Regarding flutter Sqflite database
how to connect sqflte database like (dbeaver)in flutter project? how to fetch data .db file in pubsec.yml file in flutter project?

November 19, 2019 at 05:45AM by Munish Rathore
https://ift.tt/3428n3V
New tweet from FlutterDev:

Hey developers in India! 🇮🇳

Google for Mobile is happening now live from Bangalore! We’re teaching you all about Google’s latest development tools including Flutter, so you can build amazing app experiences! 📱

Tune in now ↓https://t.co/UAjMV6j0tW#GFMIndia— Flutter (@FlutterDev) November 19, 2019

November 19, 2019 at 05:08AM
http://twitter.com/FlutterDev/status/1196641359324536834
New post on Flutter Dev Google group:

How to update db which is fetched from rest api and save it to db
Below is my articles.dart where I am getting the data and saving data to db but I want to update the db please help me in doing so articles.dart class Articleslist extends StatefulWidget { @override Articleslist({this.title}) : super(); final String title; _OurArticleslistPageState

November 19, 2019 at 08:09AM by mahantappa b k
https://ift.tt/2pASa6Y
New post on /r/flutterdev subreddit:

Do you notice the Material Team from Google has a repo for experimental material design for Flutter: https://ift.tt/2L4c6b0
https://ift.tt/2L4c6b0

November 19, 2019 at 09:44AM by fluttervn
https://ift.tt/2r4kjDO
New post on Flutter Dev Google group:

Refresh ListView in Flutter
How can I refresh a ListView ? Let say in page A, I have a ListView, and there is a menu icon in the row item. When I click the menu icon, it will show a bottom sheet dialog which has a delete icon. When delete icon is clicked, it will pop up a delete confirmation dialog. Once the 'Yes' button

November 19, 2019 at 10:24AM by Tony Seng
https://ift.tt/35cVfsW
New post on Flutter Dev Google group:

How to use webfont in flutter application ?
Hello, Can anyone please let me know how to use webfont in flutter application ?

November 19, 2019 at 11:43AM by Darshana Topiya
https://ift.tt/2r2Gqum
New post on Flutter Dev Google group:

recording app
i want to create an app that can record music with beats or instrumentals and can also export music created plus the app should be able to import beats to create any form of music. How do i go about doing this?. are there any plugins or similar android apps that perform this function. Thank you

November 19, 2019 at 12:17PM by toluwani alonge
https://ift.tt/2OpOihx
New post on /r/flutterdev subreddit:

Flutter succinctly Book by Ed Freitas free download
https://ift.tt/2NuCWdl

November 19, 2019 at 10:13AM by michaelprabhu
https://ift.tt/2r2kLT4
New post on /r/flutterdev subreddit:

Flutter State Management
I have started playing with Flutter like one month ago. Since then I've been building more and more complex stuff into my app and I have learned by doing, on the fly.I knew about the bloc pattern almost since day one, but for my needs and because it seemed too cumbersome, I have decided to go with setState(). That was pretty decent until I've come to a pretty big widget tree which included a Bottom Navigation Bar with 3 pages. Then into one of this I had a Tab Bar with 3 tabs. Into which I had lists of interactive widgets. You get the idea.At this stage I decided to have another look into better State Management and everyone was talking about bloc. Out of nowhere, I came across this official post about ChangeNotifier https://flutter.dev/docs/development/data-and-backend/state-mgmt/simple. This seems to be doing all the job I want to achieve (manage the states of certain widgets without rebuilding the whole page) with way less bloat compared with bloc.Since there are so many posts around Reddit and other platforms about this topic and everyone is searching for an `official` way to do it, why isn't this approach more popular? I see the vast majority of developers recommending setState() for small, demo apps (because it's not worth to invest into bloc for such apps) or bloc for everything else.For the ones which got to play with both bloc or ChangeNotifier or simply have a better grasp about those two approaches: what are the main differences, pros or cons between those two. Why is there almost no one recommending ChangeNotifier? If you are able to achieve mostly the same performance with both (regarding the rebuilding widgets on state change) why are developers choosing the more bulky bloc?

November 19, 2019 at 12:33PM by nazyar
https://ift.tt/2CZdK8d
New post on /r/flutterdev subreddit:

Flutter circular text widget
https://ift.tt/32XC3xL

November 19, 2019 at 04:09PM by EngineerScientist
https://ift.tt/2QvXXpd
New post on Flutter Dev Google group:

Best way to display article teaser with youtube video link
Hi everyone! I have a flutter app connected to Firebase. I use a StreamBuilder to get a list of url from Firestore and I would like to display a list of Youtube video. What is the best way to do this in Flutter, which Widget? Is better maybe to charge these urls at the begin and then force user

November 19, 2019 at 08:39PM by r@tsoftware
https://ift.tt/2CYWu2S
New post on /r/flutterdev subreddit:

Can't submit my project to the Flutter Clock challenge
Getting:Something went wrong.Please try again.

November 19, 2019 at 08:50PM by humazed
https://ift.tt/344bOah
New post on /r/flutterdev subreddit:

Do you retain copyright ownership if you submit app to Flutter clock challenge?
Looking over the challenge, its unclear to me if I am able to keep ownership of the app after submission. I understand it gives Lenovo/Google permission to potentially sell/ship it, but does that mean we loose copyright ownership to do what we want with the content/designs we develop with it?Can someone on the legal/team clarify this?

November 19, 2019 at 07:29PM by yabadababoo
https://ift.tt/2rZs91W
New post on /r/flutterdev subreddit:

Click to expand a SliverAppBar
I have been wondering how to approach this with no luck.What I would like to try to implement is the ability to click a SliverAppBar so that when the title (or flexible space) is tapped, it expands to cover the entire screen. I would also like it to collapse back down to its previous size when the title (or flexible space) is tapped again.I have been thinking that maybe creating a custom PreferredSizeWidget to occupy the bottom widget and changing its preferred size on tap could work, but I still have the issue of correctly determining how much size it should occupy when it is expanded.If anyone has any idea or samples of code to share, I would really appreciate it. Thanks!

November 19, 2019 at 10:34PM by banana_shavings
https://ift.tt/35giodT
New post on Flutter Dev Google group:

Search delegate issue do infinite loop without I had done any
Hi everyone!! I've implemented the search delegate to load all contacts from device in flutter in Widget build suggestions , then al the moment to open this screen it starts to doing the function that I have to get all contacts from device but it never stops, so in the windows log appears

November 19, 2019 at 10:59PM by marialijideveloper
https://ift.tt/2XsOa4V
New post on /r/flutterdev subreddit:

FlutterVN newsletter #4: Flutter Clock challenge; Flutter Q3 2019 survey result on performance, add-to-app, plugins; CI/CD in Flutter workflow; test app. And more…
https://ift.tt/2QBoK3u

November 20, 2019 at 05:56AM by fluttervn
https://ift.tt/2D1AoNf
New post on /r/flutterdev subreddit:

Flutter app on iOS causing phone to restart, no idea where to start
Hey guys, I expect this to get buried but man am I having a tough time with a rather random issue.I have a section of an app that is causing users' iPhones (ios13) to restart. I've pulled device logs, and the restart was unrelated to my app specifically, but did have information about the restart:Incident Identifier: EFF29247-7B41-4225-9DA7-1A6584CC5898CrashReporter Key:   6bb3f35ef170b67fd0897ab58b6394977d126decDate: 2019-11-18 11:17:20.66 -0600Reset count: 1Boot failure count: 0Boot faults:Boot stage: 0Boot app: 1610934444..."reason" : "Power assertion timeout for \"RTLocationAwarenessManager\".  Simply releasing it now.\nBacktrace for power assertion: pid 31 (0x1a1781fa4 0x1c419a80c 0x1c42a3058 0x1c42a32b8 0x19f25e610 0x19f25f184 0x19f20b404 0x19f20be28 0x19f215314 0x19f2aef88 0x19f2b1ad4)",This was the only remotely helpful piece that was tied to the crashReporterKey from the restart log entry. No location stuff is not running in the app at this stage, so RTLocationAwarenessManager seems entirely unhelpful.I've only been able to reproduce this a couple of times on an iPhone SE (iOS13), but it definitely seemed like going to this screen and staying there for a bit was the cause. However, for the users who regularly see this, it happens much quicker, and is consistently happening on that one screen of my app. I have rigorously run this through xcodes profiler and have a "low" energy rating, no weird network/cpu/ui loops, no memory leaks... nothing like that.Unfortunately, I come from mostly a native Android background (this issue is not happening at all on Android), so I'm at a loss really when it comes to obscure iOS related issues.Has anyone seen anything like this and could give me some sort of idea on where to start?

November 20, 2019 at 06:18AM by calebisstupid
https://ift.tt/2Ookjq8