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.
New post on /r/flutterdev subreddit:
We made a package to add passwordless auth into your Flutter apps
Hello Flutter Devs,We at Magic recently released a new Flutter package for adding passwordless authentications to your applications.https://pub.dev/packages/magic_sdkNow it's super easy to onboard users without passwords.Read the docs to get started in minutes. And we look forward to seeing your apps using this package and want to hear your integration stories.
November 10, 2021 at 04:00PM by alamshahbaz
https://ift.tt/3krxlDY
We made a package to add passwordless auth into your Flutter apps
Hello Flutter Devs,We at Magic recently released a new Flutter package for adding passwordless authentications to your applications.https://pub.dev/packages/magic_sdkNow it's super easy to onboard users without passwords.Read the docs to get started in minutes. And we look forward to seeing your apps using this package and want to hear your integration stories.
November 10, 2021 at 04:00PM by alamshahbaz
https://ift.tt/3krxlDY
Magic
Magic Labs | The best way to build onchain
We've onboarded 40 million people to the world's leading apps. We're trusted by over 190,000 developers. We're Magic.
New post on /r/flutterdev subreddit:
A Package for Undo/Redo Support in StateNotifier
https://pub.dev/packages/history_state_notifierHistory State NotifierThis package offers an extension on state_notifier to add a full history support with undo/redo functionality.Featuresβ©οΈ Add undo() and redo() to StateNotifierπ Limit the size of your historyπ Offers both a mixin that can be added to your existing StateNotifiers and an abstract class that you can extendπͺΆ No dependencies on flutter or any other packages and super lightweight.π Choose which states get stored to the historyπ Transform states before applying them from the history
November 10, 2021 at 04:19PM by nameausstehend
https://ift.tt/30ge7ug
A Package for Undo/Redo Support in StateNotifier
https://pub.dev/packages/history_state_notifierHistory State NotifierThis package offers an extension on state_notifier to add a full history support with undo/redo functionality.Featuresβ©οΈ Add undo() and redo() to StateNotifierπ Limit the size of your historyπ Offers both a mixin that can be added to your existing StateNotifiers and an abstract class that you can extendπͺΆ No dependencies on flutter or any other packages and super lightweight.π Choose which states get stored to the historyπ Transform states before applying them from the history
November 10, 2021 at 04:19PM by nameausstehend
https://ift.tt/30ge7ug
Dart packages
history_state_notifier | Dart Package
Extends state_notifier to add a history feature that allows for undo/redo operations.
New tweet from FlutterDev:
π π₯ DartPad support is here! Making it easier to write code with Firebase and Flutter together. Tune in to #FirebaseSummit to ask the team your questions live β https://t.co/7QGJ2SSna4 https://t.co/fXiBE0bFIPβ Flutter (@FlutterDev) Nov 10, 2021
November 10, 2021 at 07:10PM
https://twitter.com/FlutterDev/status/1458497358270844931
π π₯ DartPad support is here! Making it easier to write code with Firebase and Flutter together. Tune in to #FirebaseSummit to ask the team your questions live β https://t.co/7QGJ2SSna4 https://t.co/fXiBE0bFIPβ Flutter (@FlutterDev) Nov 10, 2021
November 10, 2021 at 07:10PM
https://twitter.com/FlutterDev/status/1458497358270844931
Firebase
Firebase Summit 2022
Learn how to accelerate app development, run your app with confidence, and deliver a high quality user experience at Firebase Summit 2022.
New tweet from FlutterDev:
B. ListView is the correct answer! π₯³β Flutter (@FlutterDev) Nov 10, 2021
November 10, 2021 at 08:30PM
https://twitter.com/FlutterDev/status/1458517389876756483
B. ListView is the correct answer! π₯³β Flutter (@FlutterDev) Nov 10, 2021
November 10, 2021 at 08:30PM
https://twitter.com/FlutterDev/status/1458517389876756483
Twitter
Flutter
B. ListView is the correct answer! π₯³
New post on /r/flutterdev subreddit:
Firebase Auth/CloudStore support for DartPad
Earlier today on the Firebase Summit keynote, they mentioned that <dartpad.dev> now supports
November 10, 2021 at 11:17PM by eibaan
https://ift.tt/3wxs7LQ
Firebase Auth/CloudStore support for DartPad
Earlier today on the Firebase Summit keynote, they mentioned that <dartpad.dev> now supports
firebase_auth
und cloud_firestore
. I'm not sure whether this is useful beyond simple examples but still, it's nice, and perhaps more packages (like provider etc.) will be supported in the future.https://twitter.com/FlutterDev/status/1458497358270844931November 10, 2021 at 11:17PM by eibaan
https://ift.tt/3wxs7LQ
Twitter
Flutter
π π₯ DartPad support is here! Making it easier to write code with Firebase and Flutter together. Tune in to #FirebaseSummit to ask the team your questions live β g.co/firebasesummit
New post on /r/flutterdev subreddit:
Firestore NoSQL in a Flutter App with Bloc
https://youtu.be/MtndG6_oaZ0
November 11, 2021 at 12:40AM by Miles_Adamson
https://ift.tt/3knpbg8
Firestore NoSQL in a Flutter App with Bloc
https://youtu.be/MtndG6_oaZ0
November 11, 2021 at 12:40AM by Miles_Adamson
https://ift.tt/3knpbg8
YouTube
Flutter Firebase Part 2: Firestore NoSQL
https://github.com/MilesAdamson/firebase_tutorial/tree/12b2b1a9119d014a9dff4c09c1b19f2c8d762fae
00:00 Intro
01:30 Firestore Documents
04:20 Collections
06:15 Modelling Data
09:17 Timestamp Converter
11:10 Repository Interface
11:55 User Repository
19:25β¦
00:00 Intro
01:30 Firestore Documents
04:20 Collections
06:15 Modelling Data
09:17 Timestamp Converter
11:10 Repository Interface
11:55 User Repository
19:25β¦
New post on /r/flutterdev subreddit:
How to add signature on pdf
Good evening, I am in a project of signing documents digitally, and I need to add the signatures in a pdf document and researched and I can't find much information, any ideas? or any library that can help me.Thanks in advance
November 11, 2021 at 06:47AM by SirChavero
https://ift.tt/2YyIHhM
How to add signature on pdf
Good evening, I am in a project of signing documents digitally, and I need to add the signatures in a pdf document and researched and I can't find much information, any ideas? or any library that can help me.Thanks in advance
November 11, 2021 at 06:47AM by SirChavero
https://ift.tt/2YyIHhM
reddit
How to add signature on pdf
Good evening, I am in a project of signing documents digitally, and I need to add the signatures in a pdf document and researched and I can't find...
New post on /r/flutterdev subreddit:
I'm looking for study buddies
Hi everyone,I bought "The Complete 2021 Flutter Development Bootcamp with Dart" I'm looking for study buddies -- we will learn everyday, motivate and hold each other accountableI'm on section 6 after 5 days and picked up ebooks from here and there
November 11, 2021 at 08:16AM by LifeLongLearner2030
https://ift.tt/3Hn9UG3
I'm looking for study buddies
Hi everyone,I bought "The Complete 2021 Flutter Development Bootcamp with Dart" I'm looking for study buddies -- we will learn everyday, motivate and hold each other accountableI'm on section 6 after 5 days and picked up ebooks from here and there
November 11, 2021 at 08:16AM by LifeLongLearner2030
https://ift.tt/3Hn9UG3
Udemy
The Complete Flutter Development Bootcamp with Dart
Officially created in collaboration with the Google Flutter team.
New post on /r/flutterdev subreddit:
Some observations about the Flutter router and opening nested routes on the web. onGenerateRoute is called multiple times.
TLDRI request an initial route of /home/1/2/3/4/5 , but onGenerateRoute is called 7 times, 7 states are allocated and 7 widgets are built. One is expected for each.Solution: Use onGenerateInitialRoutes to override the default behavior.Deep Dive:I'm going to share what I've learned out of my own research when facing this issue.When opening a deep link, the flutter router recreates all the prior router/history states of the app.This means that the back button can return the user trough all the screens needed to get there even if it got there via deep linking.This behavior makes sense for mobile devices. However, on the web, this behavior is not wanted.If we load a deep link such as: http://domain/s/lorem-ipsum/all/posts we end up initialising each route level if it has it's own screen definedIf you happen to have the same component on all levels this in turn leads to 5 sets of duplicated API calls which is completely unacceptableTherefore we can use onGenerateInitialRoutes to prevent this behavior from occurring.The default history stack is overridden with a router/history stack with just one statemain.dart
November 11, 2021 at 01:31PM by SpaceInstructor
https://ift.tt/3F4wiBV
Some observations about the Flutter router and opening nested routes on the web. onGenerateRoute is called multiple times.
TLDRI request an initial route of /home/1/2/3/4/5 , but onGenerateRoute is called 7 times, 7 states are allocated and 7 widgets are built. One is expected for each.Solution: Use onGenerateInitialRoutes to override the default behavior.Deep Dive:I'm going to share what I've learned out of my own research when facing this issue.When opening a deep link, the flutter router recreates all the prior router/history states of the app.This means that the back button can return the user trough all the screens needed to get there even if it got there via deep linking.This behavior makes sense for mobile devices. However, on the web, this behavior is not wanted.If we load a deep link such as: http://domain/s/lorem-ipsum/all/posts we end up initialising each route level if it has it's own screen definedIf you happen to have the same component on all levels this in turn leads to 5 sets of duplicated API calls which is completely unacceptableTherefore we can use onGenerateInitialRoutes to prevent this behavior from occurring.The default history stack is overridden with a router/history stack with just one statemain.dart
... return MaterialApp( ... initialRoute: user != null ? '/' : '/login', // The default history stack is overridden with a router/history stack with just one state // In this case I used fluro but any other onGenerateRoute method will do the trick onGenerateInitialRoutes: (initialRoute) => [appRouter.generator(RouteSettings(name: initialRoute))!], onGenerateRoute: appRouter.generator, );router.dart
final appRouter = FluroRouter(); void defineAppRoutes() { final routes = { // Auth '/login': LoginPage(), '/register': RegisterPage(), // Pages '/': MainFeed(), '/s': MainFeed(), '/s/:spaceId': MainFeed(), '/s/:spaceId/:activityId': MainFeed(), '/s/:spaceId/:activityId/posts': MainFeed(), ... many more such routes }; routes.forEach((route, page) { appRouter.define(route, handler: Handler( handlerFunc: (BuildContext? context, Map<String, List<String>> params) => page, )); }); // Not found appRouter.notFoundHandler = Handler( handlerFunc: (BuildContext? context, Map<String, dynamic> params) { return NotFoundPage(); }); }Performance/Billing concernsSome of you might be using Firebase and possibly planning to run an app with high volumes of traffic. Therefore it is quite important to pay attention to what your router does. You might be sending requests for more data than what you actually need to load for your first view of the app. Especially for sharing links on the web this might be costly if you don't optimize your API calls. Since Firebase does everything via websockets make sure you either place print statements in all your API calls or you can also switch to json-server during development to get a better view of the HTTP calls in the developer tools. There are many ways to handle this optimisation. What matters first of all is to be aware of your API calls and how many. I was able to generate 15K api calls with 3-4 work hours using an unoptimised version of my app.Final NotesinitState will be called as many route segments as you have unless you override onGenerateInitialRoutesbuild is called as many times as flutter thinks there's a change event. As long as you don't do any complex logic or any API calls during the build stage it's not that bad. Similar to React or Angular the change detection algo makes sure that if duplicate builds happen only the relevant changes are computed.I'm still learning some of this stuff so please excuse me if I used some wrong terms. Let me know how can I improve this post or if got something completely wrong. Hopefully it helps you.
November 11, 2021 at 01:31PM by SpaceInstructor
https://ift.tt/3F4wiBV
reddit
Some observations about the Flutter router and opening nested...
**TLDR** I request an initial route of **/home/1/2/3/4/5** , but onGenerateRoute is called 7 times, 7 states are allocated and 7 widgets are...
New post on /r/flutterdev subreddit:
Large examples of Provider + ChangeNotifier architecture?
Does anyone have any good example apps of arobust app architecture using ChangeNotifier + Provider?I am looking for complete app examples that go much further than just the counter example. I have yet to find a good example app that is actually of a quality to ship as a professional production ready app.Thanks!
November 11, 2021 at 05:48PM by scorr204
https://ift.tt/3C1JC8l
Large examples of Provider + ChangeNotifier architecture?
Does anyone have any good example apps of arobust app architecture using ChangeNotifier + Provider?I am looking for complete app examples that go much further than just the counter example. I have yet to find a good example app that is actually of a quality to ship as a professional production ready app.Thanks!
November 11, 2021 at 05:48PM by scorr204
https://ift.tt/3C1JC8l
Reddit
[deleted by user] : r/FlutterDev
19 votes, 10 comments. 111K subscribers in the FlutterDev community. A community for the publishing of news and discussion about Flutter. Thisβ¦