New post on /r/flutterdev subreddit:
Struggling to justify Riverpod, getx, bloc, over provider
Could someone point out a reason they had to use anything other than provider for state management?Also, if riverpod is the "upgraded" and "better" provider then why keep improving provider?
November 08, 2021 at 12:48PM by sonicworkflow
https://ift.tt/31I3pgv
Struggling to justify Riverpod, getx, bloc, over provider
Could someone point out a reason they had to use anything other than provider for state management?Also, if riverpod is the "upgraded" and "better" provider then why keep improving provider?
November 08, 2021 at 12:48PM by sonicworkflow
https://ift.tt/31I3pgv
reddit
Struggling to justify Riverpod, getx, bloc, over provider
Could someone point out a reason they **had** to use anything other than provider for state management? Also, if riverpod is the "upgraded" and...
New post on /r/flutterdev subreddit:
Chewie Video Player Flutter | Add Video Background To Your Flutter App
https://youtube.com/watch?v=xK-joacHwx4&feature=share
November 08, 2021 at 02:09PM by backslashflutter
https://ift.tt/3F1eMyB
Chewie Video Player Flutter | Add Video Background To Your Flutter App
https://youtube.com/watch?v=xK-joacHwx4&feature=share
November 08, 2021 at 02:09PM by backslashflutter
https://ift.tt/3F1eMyB
YouTube
Chewie Video Player Flutter | Add Video Background To Your Flutter App Screens (Updated)
Chewie Video Player Flutter | Add Video Background To Your Flutter App Screens (Updated)
Today we will learn how to implement the video player to your flutter app screens using the chewie package. Video player is the basic package that comes through the…
Today we will learn how to implement the video player to your flutter app screens using the chewie package. Video player is the basic package that comes through the…
New post on /r/flutterdev subreddit:
What is your State management approach for a production grade app? Considering userbase 100-1000.
What is the state management approach that you are using in your production ready applications which has a good user base say more than 100 and even further large.View Poll
November 08, 2021 at 03:34PM by Artronn
https://ift.tt/3BY38T3
What is your State management approach for a production grade app? Considering userbase 100-1000.
What is the state management approach that you are using in your production ready applications which has a good user base say more than 100 and even further large.View Poll
November 08, 2021 at 03:34PM by Artronn
https://ift.tt/3BY38T3
New tweet from FlutterDev:
🦋📚 Learn Flutter with the Flutter Community 💙 On Nov 10th, we will review chapters 9 & section 15.1 of #flutterapprentice, learn about data persistence with shared preferences, get an intro to databases & answer your questions! Join the discussion 👉 https://t.co/JKQkyeNNll https://t.co/tsolhM33Ty— Flutter (@FlutterDev) Nov 8, 2021
November 08, 2021 at 06:00PM
https://twitter.com/FlutterDev/status/1457754978932572164
🦋📚 Learn Flutter with the Flutter Community 💙 On Nov 10th, we will review chapters 9 & section 15.1 of #flutterapprentice, learn about data persistence with shared preferences, get an intro to databases & answer your questions! Join the discussion 👉 https://t.co/JKQkyeNNll https://t.co/tsolhM33Ty— Flutter (@FlutterDev) Nov 8, 2021
November 08, 2021 at 06:00PM
https://twitter.com/FlutterDev/status/1457754978932572164
YouTube
Data Persistence :: 10th Nov 2021 :: Flutter Apprentice Book Club
Chapters 9 & 15 (1st Half)
Get the book https://flutter.dev/apprentice-giveaway
Community
https://www.meetup.com/pro/flutter
https://fluttercommunity.dev/joinslack
https://discord.com/invite/N7Yshp4
https://www.reddit.com/r/FlutterDev/
https://stac…
Get the book https://flutter.dev/apprentice-giveaway
Community
https://www.meetup.com/pro/flutter
https://fluttercommunity.dev/joinslack
https://discord.com/invite/N7Yshp4
https://www.reddit.com/r/FlutterDev/
https://stac…
New tweet from FlutterDev:
🦋 Grab the #flutterapprentice here 👇 https://t.co/TfgyFPT0fO— Flutter (@FlutterDev) Nov 8, 2021
November 08, 2021 at 06:08PM
https://twitter.com/FlutterDev/status/1457756937924202498
🦋 Grab the #flutterapprentice here 👇 https://t.co/TfgyFPT0fO— Flutter (@FlutterDev) Nov 8, 2021
November 08, 2021 at 06:08PM
https://twitter.com/FlutterDev/status/1457756937924202498
New post on /r/flutterdev subreddit:
BLoC users, how do you scope your blocs ?
I have been using BLoC for more than 2 years on side projects, but I never used it in a real professional project, how do you scope your BLoC logic ? Do you scope that per use case, per page or per widget ? Something else ?I’m really curious and I’m always hesitant when starting a new project, I have a Android background with a strong experience of MVVM and MVP using the Clean Architecture principles as much as I can.Usually my ViewModels or my Presenters are scoped based on the page (screen) purpose, so it includes everything needed for that page and it exposes 1 or a few ViewStates (depending on the layout and fragments structure).If I create feature scoped blocs, I start to do over engineering while trying to make it as reusable as I can, if I do page scoped blocs, it becomes heavy and hard to manage.Any advice or experience is welcome :)View Poll
November 08, 2021 at 10:28PM by New-Muffin-5863
https://ift.tt/3o9thcP
BLoC users, how do you scope your blocs ?
I have been using BLoC for more than 2 years on side projects, but I never used it in a real professional project, how do you scope your BLoC logic ? Do you scope that per use case, per page or per widget ? Something else ?I’m really curious and I’m always hesitant when starting a new project, I have a Android background with a strong experience of MVVM and MVP using the Clean Architecture principles as much as I can.Usually my ViewModels or my Presenters are scoped based on the page (screen) purpose, so it includes everything needed for that page and it exposes 1 or a few ViewStates (depending on the layout and fragments structure).If I create feature scoped blocs, I start to do over engineering while trying to make it as reusable as I can, if I do page scoped blocs, it becomes heavy and hard to manage.Any advice or experience is welcome :)View Poll
November 08, 2021 at 10:28PM by New-Muffin-5863
https://ift.tt/3o9thcP
New post on /r/flutterdev subreddit:
Coming back from a long break, what have I missed?
Hi! I've taken a break from flutter app development for about a year and a half, before null safety was introduced. Starting to develop apps again. What are some of the cool new features been added since I've been away?
November 08, 2021 at 11:33PM by Potat0Sa1ad
https://ift.tt/3khx5r8
Coming back from a long break, what have I missed?
Hi! I've taken a break from flutter app development for about a year and a half, before null safety was introduced. Starting to develop apps again. What are some of the cool new features been added since I've been away?
November 08, 2021 at 11:33PM by Potat0Sa1ad
https://ift.tt/3khx5r8
reddit
Coming back from a long break, what have I missed?
Hi! I've taken a break from flutter app development for about a year and a half, before null safety was introduced. Starting to develop apps...
New post on /r/flutterdev subreddit:
New `SharedAppData` widget
Looking through Flutter's commit messages, I noticed that a new widget was added to Flutter master which allows to easily share data between widgets. In this respect, it is similar to the hundreds of other state management libraries.Here's a simple example using the widget. By default, the MaterialApp already provides a SharedAppData scope to the context. Descendants of that widget can then share data identified by some key. I chose the class object Counter in my example. The getValue call will automatically register the provided context as a dependency and therefore a rebuild is trigged if the value is changed.
November 08, 2021 at 11:25PM by eibaan
https://ift.tt/303tLsZ
New `SharedAppData` widget
Looking through Flutter's commit messages, I noticed that a new widget was added to Flutter master which allows to easily share data between widgets. In this respect, it is similar to the hundreds of other state management libraries.Here's a simple example using the widget. By default, the MaterialApp already provides a SharedAppData scope to the context. Descendants of that widget can then share data identified by some key. I chose the class object Counter in my example. The getValue call will automatically register the provided context as a dependency and therefore a rebuild is trigged if the value is changed.
class Counter extends StatelessWidget { const Counter({Key? key}) : super(key: key); @override Widget build(BuildContext context) { final count = SharedAppData.getValue(context, Counter, () => 0); return Scaffold( body: Center(child: Text('$count')), floatingActionButton: FloatingActionButton( onPressed: () => SharedAppData.setValue(context, Counter, count + 1), ), ); } }Of course, it is possible to wrap that method calls to abstract the key into something that looks like a "Provider". Here is my 3 minutes adhoc "framework":
class Provider<T> { Provider(this.create); final T Function() create; T watch(BuildContext context) => SharedAppData.getValue(context, this, create); void Function(BuildContext) set(T value) => (context) => SharedAppData.setValue(context, this, value); void Function(BuildContext) update(T Function(T) update) => (context) => set(update(watch(context))); } final counterProvider = Provider(() => 0);The build method now looks a bit nicer:
Widget build(BuildContext context) { return Scaffold( body: Center(child: Text('${counterProvider.watch(context)}')), floatingActionButton: FloatingActionButton( onPressed: () => counterProvider.update(increment)(context), ), ); }The new widget isn't a solution for everything but a nice addition and enough for small and medium sized application, I think. Notice that the above approach isn't as efficient as provider or riverpod would be, but it doesn't need external libraries and might be good enough.
November 08, 2021 at 11:25PM by eibaan
https://ift.tt/303tLsZ
reddit
New `SharedAppData` widget
Looking through Flutter's commit messages, I noticed that a new widget was added to Flutter `master` which allows to easily share data between...
New post on /r/flutterdev subreddit:
What underlying windowing library or framework does Flutter use?
GLFW, wxWidgets, GTK, SDL, QT, something else?Any pointers to the implementation?
November 09, 2021 at 02:52AM by bmitc
https://ift.tt/3D0mWGD
What underlying windowing library or framework does Flutter use?
GLFW, wxWidgets, GTK, SDL, QT, something else?Any pointers to the implementation?
November 09, 2021 at 02:52AM by bmitc
https://ift.tt/3D0mWGD
reddit
What underlying windowing library or framework does Flutter use?
GLFW, wxWidgets, GTK, SDL, QT, something else? Any pointers to the implementation?
New post on /r/flutterdev subreddit:
How do you handle errors?
I recently started to work with flutter and in the last days I struggled a lot to find some information about handling errors and displaying messages to users.I am right now using riverpod with statenotifier and I was thinking a good way to do it is to create some intermediate state classes like StateInit, StateLoading, StateSuccess, StateError and in every screen to check the state instance and render a widget accordingly, but it is getting pretty repetitive since I want to display the same error type or loading, but with different messages.Anyway, how do you handle your app errors?
November 09, 2021 at 12:14PM by Exorcistoo
https://ift.tt/3bW75gA
How do you handle errors?
I recently started to work with flutter and in the last days I struggled a lot to find some information about handling errors and displaying messages to users.I am right now using riverpod with statenotifier and I was thinking a good way to do it is to create some intermediate state classes like StateInit, StateLoading, StateSuccess, StateError and in every screen to check the state instance and render a widget accordingly, but it is getting pretty repetitive since I want to display the same error type or loading, but with different messages.Anyway, how do you handle your app errors?
November 09, 2021 at 12:14PM by Exorcistoo
https://ift.tt/3bW75gA
reddit
How do you handle errors?
I recently started to work with flutter and in the last days I struggled a lot to find some information about handling errors and displaying...
New post on /r/flutterdev subreddit:
Pro Tip: enableDithering property
My gradients weren't looking smooth, so i googled it and came across this stackoverflow answer: https://stackoverflow.com/a/64807773/13972151It made my gradients way more smooth, color stops are way less visible now. I saw that this property isn't mentioned much; so i thought it could be useful to some.
November 09, 2021 at 05:50PM by ercantomac
https://ift.tt/3qnrJ1h
Pro Tip: enableDithering property
My gradients weren't looking smooth, so i googled it and came across this stackoverflow answer: https://stackoverflow.com/a/64807773/13972151It made my gradients way more smooth, color stops are way less visible now. I saw that this property isn't mentioned much; so i thought it could be useful to some.
November 09, 2021 at 05:50PM by ercantomac
https://ift.tt/3qnrJ1h
Stack Overflow
Flutter - Smooth transition color for LinearGradient
Hellow!
Is there a solution for creating a LinearGradient that has a smooth transition between start and ens color?
new Container(
decoration: new BoxDecoration(
gradient: new
Is there a solution for creating a LinearGradient that has a smooth transition between start and ens color?
new Container(
decoration: new BoxDecoration(
gradient: new
New post on /r/flutterdev subreddit:
HTTP GET and POST are very slow in IOS compared to Android
I recently knew about a problem in Flutter in IOS physical devices, which is mainly (HTTP GET and POST are very slow in IOS compared to android) I'm starting a project that depends heavily on the back-end, so I'd like to hear from people having the same case and went to production. Do you have this issue? Is it fixed in Flutter 2.5?
November 09, 2021 at 05:41PM by Own-Fact-778
https://ift.tt/3kmyHjs
HTTP GET and POST are very slow in IOS compared to Android
I recently knew about a problem in Flutter in IOS physical devices, which is mainly (HTTP GET and POST are very slow in IOS compared to android) I'm starting a project that depends heavily on the back-end, so I'd like to hear from people having the same case and went to production. Do you have this issue? Is it fixed in Flutter 2.5?
November 09, 2021 at 05:41PM by Own-Fact-778
https://ift.tt/3kmyHjs
reddit
HTTP GET and POST are very slow in IOS compared to Android
A subreddit for Google's portable UI framework.
New tweet from FlutterDev:
🦋 Chapter 5: Pop Quiz! Which of the following widgets is essentially a Column or Row that can scroll? #flutterapprentice— Flutter (@FlutterDev) Nov 9, 2021
November 09, 2021 at 06:05PM
https://twitter.com/FlutterDev/status/1458118663710466048
🦋 Chapter 5: Pop Quiz! Which of the following widgets is essentially a Column or Row that can scroll? #flutterapprentice— Flutter (@FlutterDev) Nov 9, 2021
November 09, 2021 at 06:05PM
https://twitter.com/FlutterDev/status/1458118663710466048
Twitter
Flutter
🦋 Chapter 5: Pop Quiz! Which of the following widgets is essentially a Column or Row that can scroll? #flutterapprentice
New post on /r/flutterdev subreddit:
Top 5 Hybrid App Frameworks To Consider In 2021-2022
https://ift.tt/30cqhEg
November 09, 2021 at 06:57PM by iwsstechnolab
https://ift.tt/3mYLlqz
Top 5 Hybrid App Frameworks To Consider In 2021-2022
https://ift.tt/30cqhEg
November 09, 2021 at 06:57PM by iwsstechnolab
https://ift.tt/3mYLlqz
IWSS
Use Any Of These 5 Hybrid Mobile App Frameworks To Build Multiple Apps At Once
Want To Choose The Best Hybrid App Frameworks? Check These Top 5 Hybrid Frameworks like React Native, Flutter, Ionic,, Xamarin, PhoneGap.
New post on /r/flutterdev subreddit:
Actual State of the Art of Flutter framework
I would like what is the state of the art framework written in dart for flutter. In particular, there is currently a framework that speeds up the development of the flutter app for many platforms?Thanks
November 09, 2021 at 08:07PM by crazyjoker96
https://ift.tt/3EXeTLt
Actual State of the Art of Flutter framework
I would like what is the state of the art framework written in dart for flutter. In particular, there is currently a framework that speeds up the development of the flutter app for many platforms?Thanks
November 09, 2021 at 08:07PM by crazyjoker96
https://ift.tt/3EXeTLt
reddit
Actual State of the Art of Flutter framework
A subreddit for Google's portable UI framework.
New post on /r/flutterdev subreddit:
I was trying to use withConverter firestore to display data. It display nothing
Is it just me or you guys facing it tooo??
November 09, 2021 at 09:35PM by redHero0010
https://ift.tt/3wDdvKX
I was trying to use withConverter firestore to display data. It display nothing
Is it just me or you guys facing it tooo??
November 09, 2021 at 09:35PM by redHero0010
https://ift.tt/3wDdvKX
reddit
I was trying to use withConverter firestore to display data. It...
A subreddit for Google's portable UI framework.
New post on /r/flutterdev subreddit:
What are common practices in Flutter
Atm, I'm one month into Flutter and as stated in the title, I would like to know, what are the best or common practices in Flutter regarding things like the project structure, files naming, placing widgets as functions etc. Also how do you decide if u want to use stateless or statefull widget. How do you decide when to extract a widget to a separate file and inject/import it where & when needed.I haven't really watched any tutorials or taken any courses when learning Flutter, I mostly followed Flutter documentation as much as I could.
November 09, 2021 at 11:05PM by donzavo
https://ift.tt/3H3parg
What are common practices in Flutter
Atm, I'm one month into Flutter and as stated in the title, I would like to know, what are the best or common practices in Flutter regarding things like the project structure, files naming, placing widgets as functions etc. Also how do you decide if u want to use stateless or statefull widget. How do you decide when to extract a widget to a separate file and inject/import it where & when needed.I haven't really watched any tutorials or taken any courses when learning Flutter, I mostly followed Flutter documentation as much as I could.
November 09, 2021 at 11:05PM by donzavo
https://ift.tt/3H3parg
reddit
What are common practices in Flutter
Atm, I'm one month into Flutter and as stated in the title, I would like to know, what are the best or common practices in Flutter regarding...
New post on /r/flutterdev subreddit:
Flutter State Managers: Do big companies/projects rather use GetX, BLOC, or Provider?
Hi, I'm new to flutter and I want to know which state manager is more useful to learn. I've had some experience in all 3, but not sure what big companies or projects use. Or do they use a combination?Do they use the Provider package cause its the most popular one? Or do they use BLOC, which is complex for beginners. Or do they use GetX which I don't know why but I have seen more Youtube tutorials using it nowadays.Thanks!
November 09, 2021 at 11:55PM by sailllyon
https://ift.tt/3odifDp
Flutter State Managers: Do big companies/projects rather use GetX, BLOC, or Provider?
Hi, I'm new to flutter and I want to know which state manager is more useful to learn. I've had some experience in all 3, but not sure what big companies or projects use. Or do they use a combination?Do they use the Provider package cause its the most popular one? Or do they use BLOC, which is complex for beginners. Or do they use GetX which I don't know why but I have seen more Youtube tutorials using it nowadays.Thanks!
November 09, 2021 at 11:55PM by sailllyon
https://ift.tt/3odifDp
reddit
Flutter State Managers: Do big companies/projects rather use GetX,...
Hi, I'm new to flutter and I want to know which state manager is more useful to learn. I've had some experience in all 3, but not sure what big...
New post on /r/flutterdev subreddit:
Push Notification In Flutter and Firebase | Advance Tutorial 2021
https://youtu.be/PpAoCXEnvvM
November 10, 2021 at 08:03AM by backslashflutter
https://ift.tt/3H7MqVe
Push Notification In Flutter and Firebase | Advance Tutorial 2021
https://youtu.be/PpAoCXEnvvM
November 10, 2021 at 08:03AM by backslashflutter
https://ift.tt/3H7MqVe
reddit
Push Notification In Flutter and Firebase | Advance Tutorial 2021
Posted in r/FlutterDev by u/backslashflutter • 20 points and 3 comments
New post on /r/flutterdev subreddit:
Securing socket connection in flutter
I was working with socket io and was wondering if there was any way to make sure that the data getting passed is coming from an authenticated user.
November 10, 2021 at 10:54AM by abdimussa87
https://ift.tt/3EZcIXK
Securing socket connection in flutter
I was working with socket io and was wondering if there was any way to make sure that the data getting passed is coming from an authenticated user.
November 10, 2021 at 10:54AM by abdimussa87
https://ift.tt/3EZcIXK
reddit
Securing socket connection in flutter
I was working with socket io and was wondering if there was any way to make sure that the data getting passed is coming from an authenticated user.
New post on /r/flutterdev subreddit:
Bot submissions on Flutter Web Forms
What are you using to prevent/minimize bot form submissions on flutter web? Pub.dev doesn't appear to have a solution out of the box on first glance. I know I can do some arithmetic validation like "answer 3+5", but a more robust solution would be great.
November 10, 2021 at 01:37PM by sonicworkflow
https://ift.tt/3quAg2R
Bot submissions on Flutter Web Forms
What are you using to prevent/minimize bot form submissions on flutter web? Pub.dev doesn't appear to have a solution out of the box on first glance. I know I can do some arithmetic validation like "answer 3+5", but a more robust solution would be great.
November 10, 2021 at 01:37PM by sonicworkflow
https://ift.tt/3quAg2R
Dart packages
The official repository for Dart and Flutter packages.
Pub is the package manager for the Dart programming language, containing reusable libraries & packages for Flutter and general Dart programs.