New post on Flutter Dev Google group:
Flutter web file download
So I've got a service that requires a HTTP GET with a Bearer token in the authorization header, which responds with a file. What I want, is for the app to pop up the browsers standard file save dialog and download the file. I've tried searching around a bit and so far can only find references to
December 30, 2019 at 08:46PM by Travis Dixon
https://ift.tt/2F3eNoJ
Flutter web file download
So I've got a service that requires a HTTP GET with a Bearer token in the authorization header, which responds with a file. What I want, is for the app to pop up the browsers standard file save dialog and download the file. I've tried searching around a bit and so far can only find references to
December 30, 2019 at 08:46PM by Travis Dixon
https://ift.tt/2F3eNoJ
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:
How to trigger UI events in children view, which is not visible in PageView?
I have an interesting issue. I have a pageview, which has 5 containers and each container has a ListView with multiple items(each item has a Bloc attached to that item). That bloc is used for controlling all actions with sounds: play/resume/pause.Now default PagView behaviour is the following:
/// This constructor is appropriate for page views with a large (or infinite)
/// number of children because the builder is called only for those children
/// that are actually visible.
I need to change my pageView so that all children would act as visible so that they would trigger a Bloc event.
Is this possible, or is my idea incorrect one and I perhaps should not create a separate bloc per child and manage my Audio in parent loc.
December 30, 2019 at 09:44PM by wellbranding
https://ift.tt/2QbdkmE
How to trigger UI events in children view, which is not visible in PageView?
I have an interesting issue. I have a pageview, which has 5 containers and each container has a ListView with multiple items(each item has a Bloc attached to that item). That bloc is used for controlling all actions with sounds: play/resume/pause.Now default PagView behaviour is the following:
/// This constructor is appropriate for page views with a large (or infinite)
/// number of children because the builder is called only for those children
/// that are actually visible.
I need to change my pageView so that all children would act as visible so that they would trigger a Bloc event.
Is this possible, or is my idea incorrect one and I perhaps should not create a separate bloc per child and manage my Audio in parent loc.
December 30, 2019 at 09:44PM by wellbranding
https://ift.tt/2QbdkmE
reddit
How to trigger UI events in children view, which is not visible in...
I have an interesting issue. I have a pageview, which has 5 containers and each container has a ListView with multiple items(each item has a Bloc...
New post on /r/flutterdev subreddit:
Any recommendations on State management?
Hi there!I've been working on a simple app for some time, but back in the day I had no idea of state management and I was just passing the data from parents to children widgets and then doing some nasty stuff to get the things working. Recently I read that this is basically what state management fixes, so I've been reading about it. I read about Redux, since I know it's pretty popular on JS, so I thought it could be the most popular choice, but it looks like in the Flutter World, other choices (provider, or BLoC) are more popular.Can you provide me some insight in the current state of this on Flutter?
December 30, 2019 at 09:39PM by alosarjos
https://ift.tt/2QdHdTr
Any recommendations on State management?
Hi there!I've been working on a simple app for some time, but back in the day I had no idea of state management and I was just passing the data from parents to children widgets and then doing some nasty stuff to get the things working. Recently I read that this is basically what state management fixes, so I've been reading about it. I read about Redux, since I know it's pretty popular on JS, so I thought it could be the most popular choice, but it looks like in the Flutter World, other choices (provider, or BLoC) are more popular.Can you provide me some insight in the current state of this on Flutter?
December 30, 2019 at 09:39PM by alosarjos
https://ift.tt/2QdHdTr
reddit
Any recommendations on State management?
Hi there! I've been working on a simple app for some time, but back in the day I had no idea of state management and I was just passing the data...
New post on /r/flutterdev subreddit:
Ciprian Turcu | It's All Widgets! Flutter Podcast
https://ift.tt/39r019b
December 29, 2019 at 08:33PM by hillel369
https://ift.tt/36c7Eyi
Ciprian Turcu | It's All Widgets! Flutter Podcast
https://ift.tt/39r019b
December 29, 2019 at 08:33PM by hillel369
https://ift.tt/36c7Eyi
It's All Widgets!
Ciprian Turcu | It's All Widgets!
Software Developer, administrator and associate of
@doxtitech
@doxtitech
New post on /r/flutterdev subreddit:
States Rebuilder – ZERO Boilerplate Flutter State Management
https://youtu.be/iIxWMeFnIKA
December 30, 2019 at 11:16PM by MRresoMC
https://ift.tt/2F91XFu
States Rebuilder – ZERO Boilerplate Flutter State Management
https://youtu.be/iIxWMeFnIKA
December 30, 2019 at 11:16PM by MRresoMC
https://ift.tt/2F91XFu
YouTube
States Rebuilder – ZERO Boilerplate Flutter State Management
📗 Learn from the written tutorial 👇👇
https://resocoder.com/states-rebuilder
📧 Get Flutter news 📰 and resources:
👉 http://flutter.education
👨💻 Do you write good code? Find out now!
https://resocoder.com/good-code-quiz
It seems as if good state management…
https://resocoder.com/states-rebuilder
📧 Get Flutter news 📰 and resources:
👉 http://flutter.education
👨💻 Do you write good code? Find out now!
https://resocoder.com/good-code-quiz
It seems as if good state management…
New post on Flutter Dev Google group:
Add to app Android - missing assets
Hey Team, So I've using the add to app functionality for our mobile applications and having some issues when trying to get my Flutter app working on Android (already implemented within iOS app with no issues). Seems the package I'm using (flutter_dotenv) is unable to find the assets listed in my
December 31, 2019 at 01:16AM by Jake Gillingham
https://ift.tt/2ZECLQI
Add to app Android - missing assets
Hey Team, So I've using the add to app functionality for our mobile applications and having some issues when trying to get my Flutter app working on Android (already implemented within iOS app with no issues). Seems the package I'm using (flutter_dotenv) is unable to find the assets listed in my
December 31, 2019 at 01:16AM by Jake Gillingham
https://ift.tt/2ZECLQI
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:
How to Create Liquid Swipe Animation in Flutter | Liquid Swipe Flutter
https://youtu.be/mtgsjGts5SM
December 31, 2019 at 06:26AM by sagarshende
https://ift.tt/2tg8ATB
How to Create Liquid Swipe Animation in Flutter | Liquid Swipe Flutter
https://youtu.be/mtgsjGts5SM
December 31, 2019 at 06:26AM by sagarshende
https://ift.tt/2tg8ATB
YouTube
How to Create Liquid Swipe Animation in Flutter | Liquid Swipe Flutter
In this tutorial, how to Create liquid Swipe Animation in a flutter inspired by Cuberto. Liquid swipe is the revealing clipper to bring off an amazing liquid-like swipe to the stacked Container.
Onboarding Screen for both android and iOS by Using Liquid…
Onboarding Screen for both android and iOS by Using Liquid…
New post on /r/flutterdev subreddit:
Clarification about Provider as a State Management lib
Feel free to correct me if I was wrong at some points below.First, let me declare this. Provider standing alone is not a state management library, it is a providing stuff library.It is considering a state management TECHNIQUE when you combine some pre-defined widgets of Provider like Consumer, Selector with ChangeNotifier or Stream or whatever dynamically changing state holders.Static:If I want to provide something statically up from the top to the bottom widgets (just a couple of widgets or globally based on the scope). I see nothing easier than using Provider. It allows me to not have to define the same parameters in my widget constructor deep down in the widget tree. That's all. In this case, you don't need to pass context for the Provider to get what you want, just a reminder.Dynamic:- In ChangeNotifier, it uses notifyListener() to 'notify' 'listeners' about the changing event.- In Stream, it uses event pipelines. We still have to define listening logic to events emitting.As I said above, there are various techniques to handle state management in Flutter, and addListener(()=>setState()) is the most well-known, but ppl keep asking questions (after watching Pragmatic state management video) seem confused about this.The problem of addListener(()=>setState()) is that it rebuilds the whole widget. So maybe there are nesting widgets that don't need to be rebuilt when the state changes.Nothing fancy about this, just throw your addListener(()=>setState()) inside a stateful widget, making sure the whole widget (meaning every nesting widgets inside) is needed to be rebuilt for your logic. OR, you can use pre-defined widgets that Flutter generously provided for us: AnimatedBuilder, StreamBuilder, FutureBuilder,...Yes, we can use AnimatedBuilder for ChangeNotifier, just a reminder.There is nothing wrong using addListener(()=>setState()) if we use it right waySo basically Consumer is nothing more than a wrapper widget that has addListener(()=>setState()) inside to rebuild itself every time ChangeNotifier fires notifyListeners(), and Selector is just Consumer with conditional checks to avoid unnecessary rebuilds.There is NO PERFORMANCE IMPROVEMENT in using state management libraries. It's essentially how you structure your code to minimize the number of widgets being rebuilt and how you defining logic to minimize the rebuild numbers of those.Conclusion:I use Provider for local scope static holders.I use MultiProvider for providing global static holders.I use ChangeNotifierProvider for proving local scope ChangeNotifier state holders for a couple of widgets.I use MultiProvider + ChangeNotifierProvider for providing global ChangeNotifier state holders.You can't define multiple ChangeNotifierProvider of the same ChangeNotifier, just a reminder.Sometimes I use Consumer, Selector in case the state holders are ChangeNotifier, but sometimes I use AnimatedBuilder, FutureBuilder, StreamBuilder,...instead. It depends on what the state holders are and what I specifically need in rebuilding the widget.I use Provider solely as it had stated in its description, a lightweight DI.The sanity of SM libs:In any case, I try to avoid the sanity of state management libraries as much as possible. Trying to figure out how not using any one of those can solve my problem. If not, I will use the least affect one and then some.Most of the time, big SM libs trying to solve macro-level problems, and most of the time I'm looking for micro-level problem solvers. So choose your SM lib carefully and depends on your own situations.What a no-brainer you are when you can't even control or understand what you wrote, right?Relying too much on libs makes you don't understand a single thing.
December 31, 2019 at 09:23AM by JoeJoe_Nguyen
https://ift.tt/36c4Hxr
Clarification about Provider as a State Management lib
Feel free to correct me if I was wrong at some points below.First, let me declare this. Provider standing alone is not a state management library, it is a providing stuff library.It is considering a state management TECHNIQUE when you combine some pre-defined widgets of Provider like Consumer, Selector with ChangeNotifier or Stream or whatever dynamically changing state holders.Static:If I want to provide something statically up from the top to the bottom widgets (just a couple of widgets or globally based on the scope). I see nothing easier than using Provider. It allows me to not have to define the same parameters in my widget constructor deep down in the widget tree. That's all. In this case, you don't need to pass context for the Provider to get what you want, just a reminder.Dynamic:- In ChangeNotifier, it uses notifyListener() to 'notify' 'listeners' about the changing event.- In Stream, it uses event pipelines. We still have to define listening logic to events emitting.As I said above, there are various techniques to handle state management in Flutter, and addListener(()=>setState()) is the most well-known, but ppl keep asking questions (after watching Pragmatic state management video) seem confused about this.The problem of addListener(()=>setState()) is that it rebuilds the whole widget. So maybe there are nesting widgets that don't need to be rebuilt when the state changes.Nothing fancy about this, just throw your addListener(()=>setState()) inside a stateful widget, making sure the whole widget (meaning every nesting widgets inside) is needed to be rebuilt for your logic. OR, you can use pre-defined widgets that Flutter generously provided for us: AnimatedBuilder, StreamBuilder, FutureBuilder,...Yes, we can use AnimatedBuilder for ChangeNotifier, just a reminder.There is nothing wrong using addListener(()=>setState()) if we use it right waySo basically Consumer is nothing more than a wrapper widget that has addListener(()=>setState()) inside to rebuild itself every time ChangeNotifier fires notifyListeners(), and Selector is just Consumer with conditional checks to avoid unnecessary rebuilds.There is NO PERFORMANCE IMPROVEMENT in using state management libraries. It's essentially how you structure your code to minimize the number of widgets being rebuilt and how you defining logic to minimize the rebuild numbers of those.Conclusion:I use Provider for local scope static holders.I use MultiProvider for providing global static holders.I use ChangeNotifierProvider for proving local scope ChangeNotifier state holders for a couple of widgets.I use MultiProvider + ChangeNotifierProvider for providing global ChangeNotifier state holders.You can't define multiple ChangeNotifierProvider of the same ChangeNotifier, just a reminder.Sometimes I use Consumer, Selector in case the state holders are ChangeNotifier, but sometimes I use AnimatedBuilder, FutureBuilder, StreamBuilder,...instead. It depends on what the state holders are and what I specifically need in rebuilding the widget.I use Provider solely as it had stated in its description, a lightweight DI.The sanity of SM libs:In any case, I try to avoid the sanity of state management libraries as much as possible. Trying to figure out how not using any one of those can solve my problem. If not, I will use the least affect one and then some.Most of the time, big SM libs trying to solve macro-level problems, and most of the time I'm looking for micro-level problem solvers. So choose your SM lib carefully and depends on your own situations.What a no-brainer you are when you can't even control or understand what you wrote, right?Relying too much on libs makes you don't understand a single thing.
December 31, 2019 at 09:23AM by JoeJoe_Nguyen
https://ift.tt/36c4Hxr
reddit
Clarification about Provider as a State Management lib
Feel free to correct me if I was wrong at some points below. First, let me declare this. Provider standing alone is not a state management...
New post on /r/flutterdev subreddit:
Flutter: How to import existing Flutter project, as a gradle project
https://ift.tt/2F6y096
December 31, 2019 at 03:23PM by Patel_krunal789
https://ift.tt/2ZBEIxc
Flutter: How to import existing Flutter project, as a gradle project
https://ift.tt/2F6y096
December 31, 2019 at 03:23PM by Patel_krunal789
https://ift.tt/2ZBEIxc
Icetutor
Flutter: How to import existing Flutter project, as a gradle project
How to import existing Flutter project, as a gradle project? ‘Import Project’ wizard asking for Gradle home path. I have gradle, installed in my system. But what (which path) needs to set here. Error is : Gradle Location Is Incorrect
New post on /r/flutterdev subreddit:
Flutter with WSL 2
https://ift.tt/2tiPmN8
December 31, 2019 at 07:12PM by codinglatte
https://ift.tt/35ewnAF
Flutter with WSL 2
https://ift.tt/2tiPmN8
December 31, 2019 at 07:12PM by codinglatte
https://ift.tt/35ewnAF
Medium
Flutter with WSL 2
Over the holidays I had the time to look at my development environment and decided it was time to make the jump over to using WSL2.
New post on /r/flutterdev subreddit:
Can Apple shut down flutter exports?
Apple is known for shutting down competition. How is the back end of flutter handled? Is it written in swift?I really like flutter hopefully iOS exports continue to work indefinitely.Is this something to be worried about?
December 31, 2019 at 08:15PM by Coffee4thewin
https://ift.tt/2u2WQUQ
Can Apple shut down flutter exports?
Apple is known for shutting down competition. How is the back end of flutter handled? Is it written in swift?I really like flutter hopefully iOS exports continue to work indefinitely.Is this something to be worried about?
December 31, 2019 at 08:15PM by Coffee4thewin
https://ift.tt/2u2WQUQ
reddit
Can Apple shut down flutter exports?
Apple is known for shutting down competition. How is the back end of flutter handled? Is it written in swift? I really like flutter hopefully iOS...
New post on /r/flutterdev subreddit:
Star Wars Episode 2 Tutorial
https://youtu.be/QB_O3cDeF_Y
December 31, 2019 at 11:57PM by cmcoffee91
https://ift.tt/2Qbc2If
Star Wars Episode 2 Tutorial
https://youtu.be/QB_O3cDeF_Y
December 31, 2019 at 11:57PM by cmcoffee91
https://ift.tt/2Qbc2If
YouTube
Flutter App - Loading JSON Into Model Class
In this video, we continue working on the Star Wars flutter app by following best practices and make People objects from the data. JSON to Dart: https://javi...
New post on Flutter Dev Google group:
flutter and mongoDB tutorial source
i love flutter so i decided to develop location based tracking application, ya firebase is good, but i have asked to develop the app by using mongo as a backend, but i can't find any tutorial about flutter and mongo, so i am asking you for the link where can i get the tutorial, or i'm asking
December 31, 2019 at 11:49PM by Elias Ayele
https://ift.tt/2QyDoqQ
flutter and mongoDB tutorial source
i love flutter so i decided to develop location based tracking application, ya firebase is good, but i have asked to develop the app by using mongo as a backend, but i can't find any tutorial about flutter and mongo, so i am asking you for the link where can i get the tutorial, or i'm asking
December 31, 2019 at 11:49PM by Elias Ayele
https://ift.tt/2QyDoqQ
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:
CupertinoScaffold transparent background
Hello, I am working on an app and have a Stack with container which have gradient color and CupertinoScaffold on top. Am trying to have the Scaffold with transparent background (setting its background to Colors.transparent to display the Container color) but keep getting it as white to display. Is t possible? Thanks.
January 01, 2020 at 02:07AM by medsab
https://ift.tt/2SOv2xI
CupertinoScaffold transparent background
Hello, I am working on an app and have a Stack with container which have gradient color and CupertinoScaffold on top. Am trying to have the Scaffold with transparent background (setting its background to Colors.transparent to display the Container color) but keep getting it as white to display. Is t possible? Thanks.
January 01, 2020 at 02:07AM by medsab
https://ift.tt/2SOv2xI
reddit
CupertinoScaffold transparent background
Hello, I am working on an app and have a Stack with container which have gradient color and CupertinoScaffold on top. Am trying to have the...
New post on /r/flutterdev subreddit:
How do I run code in the background, even with the screen off?
https://ift.tt/2FdW4qg
January 01, 2020 at 03:53AM by Patel_krunal789
https://ift.tt/2QAMLGn
How do I run code in the background, even with the screen off?
https://ift.tt/2FdW4qg
January 01, 2020 at 03:53AM by Patel_krunal789
https://ift.tt/2QAMLGn
Icetutor
How do I run code in the background, even with the screen off?
I have a simple timer app in Flutter, which shows a countdown with the number of seconds remaining. I have: new Timer.periodic(new Duration(seconds: 1), _decrementCounter); It seems to work fine until my phone’s display switches off (even if I switch to another…
New post on /r/flutterdev subreddit:
How does Flutter secure it's source code once your apps are released?
If I make a Swift/ObjC iOS app and release it, it goes out as a zip file and you can decompile it down to very hard to read .asm code and IIRC all the var names are scrambled.Basically, it's pretty hard to make much use of it.So what does Flutter go out as and how do you decompile it? I get that it's not compiled, it's runtime interpreted, so does that mean they get 100% usable code? Kinda like looking at a webpage's code... you see all they've done?If that's the case, what would stop someone from downloading any given app and having all the code for it?
January 01, 2020 at 03:22AM by KarlJay001
https://ift.tt/2sEg6HT
How does Flutter secure it's source code once your apps are released?
If I make a Swift/ObjC iOS app and release it, it goes out as a zip file and you can decompile it down to very hard to read .asm code and IIRC all the var names are scrambled.Basically, it's pretty hard to make much use of it.So what does Flutter go out as and how do you decompile it? I get that it's not compiled, it's runtime interpreted, so does that mean they get 100% usable code? Kinda like looking at a webpage's code... you see all they've done?If that's the case, what would stop someone from downloading any given app and having all the code for it?
January 01, 2020 at 03:22AM by KarlJay001
https://ift.tt/2sEg6HT
reddit
How does Flutter secure it's source code once your apps are released?
If I make a Swift/ObjC iOS app and release it, it goes out as a zip file and you can decompile it down to very hard to read .asm code and IIRC all...
New post on /r/flutterdev subreddit:
Flutter UI Design | New Year Resolution app
https://youtu.be/egU3i--y1hY
January 01, 2020 at 06:06AM by vilhd
https://ift.tt/37o5cVx
Flutter UI Design | New Year Resolution app
https://youtu.be/egU3i--y1hY
January 01, 2020 at 06:06AM by vilhd
https://ift.tt/37o5cVx
YouTube
Awesome Flutter UI Design Speedcode 2020 | New Year Resolution App | Happy New Year 2020
Let your dreams come true in this new year.
Happy New Year 2020.
#newyear #2020 #flutter #uidesign #protorixcode
This is a New Year Resolution App Design SpeedCode. Let's flutter..
Looking to build your own app ?
Visit - https://protorix.com
Source code…
Happy New Year 2020.
#newyear #2020 #flutter #uidesign #protorixcode
This is a New Year Resolution App Design SpeedCode. Let's flutter..
Looking to build your own app ?
Visit - https://protorix.com
Source code…
New post on /r/flutterdev subreddit:
is flutter really cluttered?
i am trying to switch to FLUTTER but i sill get concerned about how many people say it's code is really cluttered and unmanageable and some developer will even come up with nicknames like CLUTTER for it, by looking at code which looks like this https://pastebin.com/hpr9YSre it seems they are right! but i just wanted to ask here if this is the case or there are work a way around it, because sometimes people talk about problems without knowing they can easily be solved!
January 01, 2020 at 09:59AM by Hiwa_47
https://ift.tt/2Qc7TDV
is flutter really cluttered?
i am trying to switch to FLUTTER but i sill get concerned about how many people say it's code is really cluttered and unmanageable and some developer will even come up with nicknames like CLUTTER for it, by looking at code which looks like this https://pastebin.com/hpr9YSre it seems they are right! but i just wanted to ask here if this is the case or there are work a way around it, because sometimes people talk about problems without knowing they can easily be solved!
January 01, 2020 at 09:59AM by Hiwa_47
https://ift.tt/2Qc7TDV
Pastebin
[Dart] @override Widget build(BuildContext context) { final backgroundColor = - Pastebin.com
New post on /r/flutterdev subreddit:
Best Course on Udemy to start learning Flutter?
Hello everyone! I am not totally new to programming but am new to Dart which I hear is what is used to develop in Flutter. I have most of my experience in Java, C++, and some Python too. I am considering purchasing one of the courses taught by Stephen Grider, Angela Yu, or Max Schwarzmuller. Is there any general consensus on which of the three is the best one? Let me know if any comments/suggestions you guys have before purchasing one of the three. Thanks!
January 01, 2020 at 10:19AM by therealopm
https://ift.tt/2N0Q5d5
Best Course on Udemy to start learning Flutter?
Hello everyone! I am not totally new to programming but am new to Dart which I hear is what is used to develop in Flutter. I have most of my experience in Java, C++, and some Python too. I am considering purchasing one of the courses taught by Stephen Grider, Angela Yu, or Max Schwarzmuller. Is there any general consensus on which of the three is the best one? Let me know if any comments/suggestions you guys have before purchasing one of the three. Thanks!
January 01, 2020 at 10:19AM by therealopm
https://ift.tt/2N0Q5d5
reddit
Best Course on Udemy to start learning Flutter?
Hello everyone! I am not totally new to programming but am new to Dart which I hear is what is used to develop in Flutter. I have most of my...
New post on Flutter Dev Google group:
my personal device isn't recognized / displayed
Hey Guys, today I wanna try my first app with my personal device. But it didnt got recognized. So that means I cant test my app. My device isnt displayed on my explorer/hard disks as well.. So do u have any suggestions what can I do to fix that.
January 01, 2020 at 02:13PM by Trite
https://ift.tt/2QgKUHC
my personal device isn't recognized / displayed
Hey Guys, today I wanna try my first app with my personal device. But it didnt got recognized. So that means I cant test my app. My device isnt displayed on my explorer/hard disks as well.. So do u have any suggestions what can I do to fix that.
January 01, 2020 at 02:13PM by Trite
https://ift.tt/2QgKUHC
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.