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
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
November 19, 2019 at 12:33PM by nazyar
https://ift.tt/2CZdK8d
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
docs.flutter.dev
Simple app state management
A simple form of state management.
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
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
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
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
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
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
reddit
Can't submit my project to the Flutter Clock challenge
Getting: Something went wrong. Please try again.
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
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
November 19, 2019 at 10:34PM by banana_shavings
https://ift.tt/35giodT
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
reddit
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...
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
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
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
New post on /r/flutterdev subreddit:
I'm working on a Flutter IDE and here's an early first look
https://twitter.com/modulovalue/status/1196811946550530049
November 19, 2019 at 04:42PM by modulovalue
https://ift.tt/2O1ow40
I'm working on a Flutter IDE and here's an early first look
https://twitter.com/modulovalue/status/1196811946550530049
November 19, 2019 at 04:42PM by modulovalue
https://ift.tt/2O1ow40
Twitter
modulovalue π
Here's a preview of my Flutter IDE made with #Flutter Please let me know if you have any feature requests. There's quite a lot to do and I'd like to focus on features that people find valuableπ https://t.co/57Vx0cjtzj
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
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:
November 20, 2019 at 06:18AM by calebisstupid
https://ift.tt/2Ookjq8
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
reddit
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...
New post on /r/flutterdev subreddit:
Flutter Design Patterns: An overview of the State design pattern and its implementation in Dart and Flutter
https://ift.tt/2Xv89ji
November 20, 2019 at 08:41AM by mkobuolys
https://ift.tt/2XvrUXU
Flutter Design Patterns: An overview of the State design pattern and its implementation in Dart and Flutter
https://ift.tt/2Xv89ji
November 20, 2019 at 08:41AM by mkobuolys
https://ift.tt/2XvrUXU
New post on /r/flutterdev subreddit:
How to rerender widget on data change
I have a date selector and a custom pie chart widget. That widget is included in the main widget. Upon change of date I need to fetch data and refresh the chart. How can I achieve it ?I am new to flutter.
November 20, 2019 at 09:06AM by tettusud
https://ift.tt/2QzBU15
How to rerender widget on data change
I have a date selector and a custom pie chart widget. That widget is included in the main widget. Upon change of date I need to fetch data and refresh the chart. How can I achieve it ?I am new to flutter.
November 20, 2019 at 09:06AM by tettusud
https://ift.tt/2QzBU15
reddit
How to rerender widget on data change
I have a date selector and a custom pie chart widget. That widget is included in the main widget. Upon change of date I need to fetch data and...
New post on /r/flutterdev subreddit:
How to get movies genre from tmdb API
When i send a request and i get the results back i get something like this"results": [ { "id": 423204, "video": false, "vote_count": 578, "vote_average": 5.8, "title": "Angel Has Fallen", "release_date": "2019-08-21", "original_language": "en", "original_title": "Angel Has Fallen", "genre_ids": [ 28 32 ], "backdrop_path": "/k2WyDw2NTUIWnuEs5gT7wgrCQg6.jpg", "adult": false, "overview": "After the events in the previous film, Secret Service agent Mike Banning finds himself framed for an assassination attempt on the President. Pursued by his own agency and the FBI, Banning races to clear his name and uncover the real terrorist threat which has set its sights on Air Force One.", "poster_path": "/fapXd3v9qTcNBTm39ZC4KUVQDNf.jpg", "popularity": 169.408, "media_type": "movie" },......So it's easy to get the title and overview or other values that i can access them here but for example I've genre_ids that give me a number so i can use it directly as a genre for movies I've to send another request to get the genres ids and genre And i get something like this :{ "genres": [ { "id": 28, "name": "Action" }, { "id": 12, "name": "Adventure" }, { "id": 16, "name": "Animation" }, { "id": 35, "name": "Comedy" }, { "id": 80, "name": "Crime" }, ......But i don't know how to get the genres here!? What's the idea to compare the genre_ids from the results i have to the id in this genres to get the genres name?
November 20, 2019 at 11:24AM by Yaseen_Abdullah
https://ift.tt/2Xu9EOV
How to get movies genre from tmdb API
When i send a request and i get the results back i get something like this"results": [ { "id": 423204, "video": false, "vote_count": 578, "vote_average": 5.8, "title": "Angel Has Fallen", "release_date": "2019-08-21", "original_language": "en", "original_title": "Angel Has Fallen", "genre_ids": [ 28 32 ], "backdrop_path": "/k2WyDw2NTUIWnuEs5gT7wgrCQg6.jpg", "adult": false, "overview": "After the events in the previous film, Secret Service agent Mike Banning finds himself framed for an assassination attempt on the President. Pursued by his own agency and the FBI, Banning races to clear his name and uncover the real terrorist threat which has set its sights on Air Force One.", "poster_path": "/fapXd3v9qTcNBTm39ZC4KUVQDNf.jpg", "popularity": 169.408, "media_type": "movie" },......So it's easy to get the title and overview or other values that i can access them here but for example I've genre_ids that give me a number so i can use it directly as a genre for movies I've to send another request to get the genres ids and genre And i get something like this :{ "genres": [ { "id": 28, "name": "Action" }, { "id": 12, "name": "Adventure" }, { "id": 16, "name": "Animation" }, { "id": 35, "name": "Comedy" }, { "id": 80, "name": "Crime" }, ......But i don't know how to get the genres here!? What's the idea to compare the genre_ids from the results i have to the id in this genres to get the genres name?
November 20, 2019 at 11:24AM by Yaseen_Abdullah
https://ift.tt/2Xu9EOV
reddit
How to get movies genre from tmdb API
When i send a request and i get the results back i get something like this "results": [ { "id": 423204, "video": false, "vote_count":...
New post on /r/flutterdev subreddit:
How to stream PDF from byte array?
I have .NET Core WebAPI that returns FileStreamResult of the PDF that I want the client to display.Question, how do I use that byte array by the API to display PDF on my Flutter client? I would like to avoid saving to local file, if possible.
November 20, 2019 at 10:40AM by redfournine
https://ift.tt/2r8QMsF
How to stream PDF from byte array?
I have .NET Core WebAPI that returns FileStreamResult of the PDF that I want the client to display.Question, how do I use that byte array by the API to display PDF on my Flutter client? I would like to avoid saving to local file, if possible.
November 20, 2019 at 10:40AM by redfournine
https://ift.tt/2r8QMsF
reddit
How to stream PDF from byte array?
I have .NET Core WebAPI that returns FileStreamResult of the PDF that I want the client to display. Question, how do I use that byte array by...
New post on /r/flutterdev subreddit:
Why does every flutter developer on twitter have a π blue heart in their username
I have seen many flutter developers, majority of the accounts had blue heart side to the name.Also the FlutterDev Twitter Account has a blue heart. What does this π heart imply?
November 20, 2019 at 02:08PM by maadhav2001
https://ift.tt/2DcEXVb
Why does every flutter developer on twitter have a π blue heart in their username
I have seen many flutter developers, majority of the accounts had blue heart side to the name.Also the FlutterDev Twitter Account has a blue heart. What does this π heart imply?
November 20, 2019 at 02:08PM by maadhav2001
https://ift.tt/2DcEXVb
reddit
Why does every flutter developer on twitter have a π blue heart in...
I have seen many flutter developers, majority of the accounts had blue heart side to the name. Also the FlutterDev Twitter Account has a blue...
New post on Flutter Dev Google group:
Bloc - saving events in a state event map and dispatching event by state.
hey, i am trying to create a multistep registeration. i have an inherited widget (viewManager) which holds the steps and the bloc, the viewManager has a nextStep function, which takes the current state and from the steps map it pulls the right event and returns it. final Map
Bloc - saving events in a state event map and dispatching event by state.
hey, i am trying to create a multistep registeration. i have an inherited widget (viewManager) which holds the steps and the bloc, the viewManager has a nextStep function, which takes the current state and from the steps map it pulls the right event and returns it. final Map
New post on /r/flutterdev subreddit:
Type Alias
Anyone knows how to do the following code (in typescript) in dart?β
November 20, 2019 at 04:10PM by __yv
https://ift.tt/2KF4E4K
Type Alias
Anyone knows how to do the following code (in typescript) in dart?β
type MyType = {
name: string
email: string
}
final x: MyType = {name: 'x', email: 'y'}
November 20, 2019 at 04:10PM by __yv
https://ift.tt/2KF4E4K
reddit
Type Alias
Anyone knows how to do the following code (in typescript) in dart? β `type MyType = {` `name: string` `email: string` `}` `final...
New tweet from FlutterDev:
ππ₯³Level up your skills with #WidgetoftheWeek!
Want to drag a widget onto the screen and scroll it? Use DraggableScrollableSheet to get the job done!
Get more here → https://t.co/AyN0X11V44 pic.twitter.com/vdAGMhP1Bkβ Flutter (@FlutterDev) November 20, 2019
November 20, 2019 at 08:23PM
http://twitter.com/FlutterDev/status/1197234075800440833
ππ₯³Level up your skills with #WidgetoftheWeek!
Want to drag a widget onto the screen and scroll it? Use DraggableScrollableSheet to get the job done!
Get more here → https://t.co/AyN0X11V44 pic.twitter.com/vdAGMhP1Bkβ Flutter (@FlutterDev) November 20, 2019
November 20, 2019 at 08:23PM
http://twitter.com/FlutterDev/status/1197234075800440833
Twitter
#widgetoftheweek hashtag on Twitter
15h ago @FlutterDev tweeted: "βοΈ Writing your own button controls from.." - read what others are saying and join the conversation.
New post on /r/flutterdev subreddit:
DraggableScrollableSheet (Flutter Widget of the Week)
https://www.youtube.com/watch?v=Hgw819mL_78&feature=youtu.be
November 20, 2019 at 08:03PM by MarkOSullivan
https://ift.tt/2XvV3lU
DraggableScrollableSheet (Flutter Widget of the Week)
https://www.youtube.com/watch?v=Hgw819mL_78&feature=youtu.be
November 20, 2019 at 08:03PM by MarkOSullivan
https://ift.tt/2XvV3lU
YouTube
DraggableScrollableSheet (Flutter Widget of the Week)
Are you looking to drag a widget onto the screen? Does that widget have scrollable content? DraggableScrollableSheet has you covered!
Learn more about DraggableScrollableSheet β https://goo.gle/2CINYF6
Scrollable β https://goo.gle/2Kl3ye7
This video isβ¦
Learn more about DraggableScrollableSheet β https://goo.gle/2CINYF6
Scrollable β https://goo.gle/2Kl3ye7
This video isβ¦
New post on /r/flutterdev subreddit:
New audio player plugin
I've published a new Flutter plugin for audio playback, "audiofileplayer".pub and sourceWhile there's a lot of audio player packages already, I like to think I've combined the best features from them, and, more importantly, addressed some common shortcomings. This plugin:Can play from local data from the Flutter assets without copying to other folders; also can play from remote URLs, and raw byte data.Has correct memory management via a dispose() method. (some other plugins leak the audio data on every load)Please give it a whirl, and file any issues on the Github issue tracker.Edit: formatting
November 20, 2019 at 08:48PM by EternitysMansions
https://ift.tt/2pAk6aT
New audio player plugin
I've published a new Flutter plugin for audio playback, "audiofileplayer".pub and sourceWhile there's a lot of audio player packages already, I like to think I've combined the best features from them, and, more importantly, addressed some common shortcomings. This plugin:Can play from local data from the Flutter assets without copying to other folders; also can play from remote URLs, and raw byte data.Has correct memory management via a dispose() method. (some other plugins leak the audio data on every load)Please give it a whirl, and file any issues on the Github issue tracker.Edit: formatting
November 20, 2019 at 08:48PM by EternitysMansions
https://ift.tt/2pAk6aT
Dart packages
audiofileplayer | Flutter package
A Flutter plugin for audio playback.