New post on /r/flutterdev subreddit:
Creating Widget as a local variable?
I myself prefer to separate everything into its own StatelessWidget. However, I came across some code that initialize the widget as local variables and then use it. While I do not like it, but I am struggling to find a reason of why we shouldn't do it.``` class MainWidget extends StatelessWidget { final _firstText = const Text('first text'); final _secondText = const Text('second text');@override Widget build(BuildContext context) { return Column( children: <Widget>[ _firstText, _secondText, ], ); } }
March 27, 2020 at 04:23PM by astral_dragon12
https://ift.tt/2QQFdjM
Creating Widget as a local variable?
I myself prefer to separate everything into its own StatelessWidget. However, I came across some code that initialize the widget as local variables and then use it. While I do not like it, but I am struggling to find a reason of why we shouldn't do it.``` class MainWidget extends StatelessWidget { final _firstText = const Text('first text'); final _secondText = const Text('second text');@override Widget build(BuildContext context) { return Column( children: <Widget>[ _firstText, _secondText, ], ); } }
vs
class MainWidget extends StatelessWidget { @override Widget build(BuildContext context) { return Column( children: <Widget>[ _FirstText(), _SecondText(), ], ); } }class _FirstText extends StatelessWidget { @override Widget build(BuildContext context) { return const Text('first text'); } }class _SecondText extends StatelessWidget { @override Widget build(BuildContext context) { return const Text('second text'); } } ``` Could any one give me a reason why we should do one to the other?March 27, 2020 at 04:23PM by astral_dragon12
https://ift.tt/2QQFdjM
reddit
Creating Widget as a local variable?
I myself prefer to separate everything into its own StatelessWidget. However, I came across some code that initialize the widget as local...
New tweet from FlutterDev:
DartPad offers some of the same refactoring features as Flutter's plugins for Android Studio and VS Code.
💡Check out this example and see how to center a widget with just a few keystrokes! #FlutterFriday
Example here → https://t.co/WBg7Qakh71 pic.twitter.com/KQIhZxzI0E— Flutter (@FlutterDev) March 27, 2020
March 27, 2020 at 05:34PM
http://twitter.com/FlutterDev/status/1243577092047921152
DartPad offers some of the same refactoring features as Flutter's plugins for Android Studio and VS Code.
💡Check out this example and see how to center a widget with just a few keystrokes! #FlutterFriday
Example here → https://t.co/WBg7Qakh71 pic.twitter.com/KQIhZxzI0E— Flutter (@FlutterDev) March 27, 2020
March 27, 2020 at 05:34PM
http://twitter.com/FlutterDev/status/1243577092047921152
Twitter
#flutterfriday hashtag on Twitter
35m ago @FlutterDev tweeted: "✳️ Early access to features like HotUI a.." - read what others are saying and join the conversation.
New post on Flutter Dev Google group:
Android toolchain - develop for Android devices
[image: Untitled.png]
March 27, 2020 at 09:57PM by Mohaned Omar
https://ift.tt/2WO0nms
Android toolchain - develop for Android devices
[image: Untitled.png]
March 27, 2020 at 09:57PM by Mohaned Omar
https://ift.tt/2WO0nms
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:
<b>🐎 Recap: speeding up your Flutter development process, Flutter Europe and more...</b>
Hey everyone 👋We hope you're all staying safe during this crazy time.As you may have noticed, we're a little bit different than the typical "newsletter" in that we try to pull out interesting themes from the latest news and cover those specifically. If there is a particular topic you'd like to see us cover in the future, let us know in the comments.Don't forget you can always <a href="https://flutterigniter.com/snacks/">get these recaps delivered straight to your inbox</a>.____Mobile DevOps to the rescue 🙌Setting up continuous delivery pipelines, publishing processes, and automated testing aren't nearly as sexy as actually building apps, but getting something in place from the start will save you tons of pain in the long run. Tools like <a href="https://fastlane.tools/">Fastlane</a> and <a href="https://codemagic.io/start/">Codemagic</a> are free-ish and are a great place to get started.<strong>The Flutter Testing Cookbook</strong>...want to know how to test a route? How about opening a drawer in your tests? This <a href="https://github.com/gadfly361/flutter_test_cookbook/blob/master/README.md">community-driven cookbook</a> is a great resource as you start writing tests.<strong>Screenshot testing with the Golden Toolkit</strong>...eBay Motors, an earlier adopter of Flutter, just released a new package called <a href="https://pub.dev/packages/golden_toolkit">golden_toolkit</a> that allows you to automatically verify that your app looks the way it's supposed to using visual regression testing. <a href="https://tech.ebayinc.com/engineering/ebay-motors-screenshot-testing-with-flutter/">Read the blog post</a>.<strong>Flavors in Flutter</strong>...need to easily build different configurations of your app for local development, testing and production? With Flavors + Fastlane, <a href="https://dev.to/orestesgaolin/flavors-in-flutter-with-fastlane-yet-another-guide-1799">it's easy</a>.<strong>Continuous delivery with Fastlane</strong>...admittedly a dry read, but this <a href="https://flutter.dev/docs/deployment/cd">official doc</a> from the Flutter team gives you step-by-step instructions on setting up Fastlane for continuous delivery of your Flutter app.<strong>Deploy your app with Firebase App Distribution and Fastlane</strong>...alright, you have a working app, now you need to get it out to your beta testers without having to publish it to an app store. Enter <a href="https://firebase.google.com/docs/app-distribution">Firebase App Distribution</a>. Using Fastlane, you can build and deploy your app to Firebase App Distribution <a href="https://blog.codemagic.io/deploying-flutter-app-to-firebase-app-distribution-using-fastlane/">with a single command</a>. ____Flutter Europe Playlist 🇪🇺Couldn't make Flutter Europe and have some time to spare? Presentations from some of the biggest names in the Flutter-verse are now available on Youtube.<a href="https://www.youtube.com/watch?v=BulIREvHBWg">Everything you need to know about Provider</a> by Rémi Rousselet<a href="https://www.youtube.com/watch?v=G30K5wm7j_M">Lessons learned building the Invoice Ninja Flutter app</a> by Hillel Coren<a href="https://www.youtube.com/watch?v=vl0CbG_-Ny8">Testing Flutter Applications</a> by Rafał Ślósarz...full playlist <a href="https://www.youtube.com/channel/UCOoJkGYV00nr3EpZOUeuN1Q">here</a>.____Elsewhere in the Flutterverse...🪐<strong>Flutter 💙 Rust</strong> ...want to call Rust code from your Flutter app, but a bit confused? Check out this <a href="https://github.com/brickpop/flutter-rust-ffi#readme">super-clean Flutter + Rust plugin template</a> that greatly simplifies the process.<strong>A simpler way to use the Flutter Camera plugin</strong>...if you're finding the <a href="https://pub.dev/packages/camera">camera</a> plugin a little intimidating, check out <a hre…
<b>🐎 Recap: speeding up your Flutter development process, Flutter Europe and more...</b>
Hey everyone 👋We hope you're all staying safe during this crazy time.As you may have noticed, we're a little bit different than the typical "newsletter" in that we try to pull out interesting themes from the latest news and cover those specifically. If there is a particular topic you'd like to see us cover in the future, let us know in the comments.Don't forget you can always <a href="https://flutterigniter.com/snacks/">get these recaps delivered straight to your inbox</a>.____Mobile DevOps to the rescue 🙌Setting up continuous delivery pipelines, publishing processes, and automated testing aren't nearly as sexy as actually building apps, but getting something in place from the start will save you tons of pain in the long run. Tools like <a href="https://fastlane.tools/">Fastlane</a> and <a href="https://codemagic.io/start/">Codemagic</a> are free-ish and are a great place to get started.<strong>The Flutter Testing Cookbook</strong>...want to know how to test a route? How about opening a drawer in your tests? This <a href="https://github.com/gadfly361/flutter_test_cookbook/blob/master/README.md">community-driven cookbook</a> is a great resource as you start writing tests.<strong>Screenshot testing with the Golden Toolkit</strong>...eBay Motors, an earlier adopter of Flutter, just released a new package called <a href="https://pub.dev/packages/golden_toolkit">golden_toolkit</a> that allows you to automatically verify that your app looks the way it's supposed to using visual regression testing. <a href="https://tech.ebayinc.com/engineering/ebay-motors-screenshot-testing-with-flutter/">Read the blog post</a>.<strong>Flavors in Flutter</strong>...need to easily build different configurations of your app for local development, testing and production? With Flavors + Fastlane, <a href="https://dev.to/orestesgaolin/flavors-in-flutter-with-fastlane-yet-another-guide-1799">it's easy</a>.<strong>Continuous delivery with Fastlane</strong>...admittedly a dry read, but this <a href="https://flutter.dev/docs/deployment/cd">official doc</a> from the Flutter team gives you step-by-step instructions on setting up Fastlane for continuous delivery of your Flutter app.<strong>Deploy your app with Firebase App Distribution and Fastlane</strong>...alright, you have a working app, now you need to get it out to your beta testers without having to publish it to an app store. Enter <a href="https://firebase.google.com/docs/app-distribution">Firebase App Distribution</a>. Using Fastlane, you can build and deploy your app to Firebase App Distribution <a href="https://blog.codemagic.io/deploying-flutter-app-to-firebase-app-distribution-using-fastlane/">with a single command</a>. ____Flutter Europe Playlist 🇪🇺Couldn't make Flutter Europe and have some time to spare? Presentations from some of the biggest names in the Flutter-verse are now available on Youtube.<a href="https://www.youtube.com/watch?v=BulIREvHBWg">Everything you need to know about Provider</a> by Rémi Rousselet<a href="https://www.youtube.com/watch?v=G30K5wm7j_M">Lessons learned building the Invoice Ninja Flutter app</a> by Hillel Coren<a href="https://www.youtube.com/watch?v=vl0CbG_-Ny8">Testing Flutter Applications</a> by Rafał Ślósarz...full playlist <a href="https://www.youtube.com/channel/UCOoJkGYV00nr3EpZOUeuN1Q">here</a>.____Elsewhere in the Flutterverse...🪐<strong>Flutter 💙 Rust</strong> ...want to call Rust code from your Flutter app, but a bit confused? Check out this <a href="https://github.com/brickpop/flutter-rust-ffi#readme">super-clean Flutter + Rust plugin template</a> that greatly simplifies the process.<strong>A simpler way to use the Flutter Camera plugin</strong>...if you're finding the <a href="https://pub.dev/packages/camera">camera</a> plugin a little intimidating, check out <a hre…
Flutterigniter
Flutter Igniter
New post on /r/flutterdev subreddit:
Flutter Provider Package In Depth - ProxyProvider
https://www.youtube.com/watch?v=fQXFLwmE7uc
March 27, 2020 at 10:55PM by Elixane
https://ift.tt/2UpNT2w
Flutter Provider Package In Depth - ProxyProvider
https://www.youtube.com/watch?v=fQXFLwmE7uc
March 27, 2020 at 10:55PM by Elixane
https://ift.tt/2UpNT2w
YouTube
Flutter Provider Package In Depth - ProxyProvider
The provider package offers incredibly flexible and powerful state management solutions for Flutter. In this series we take a look at the different kind of providers available in the provider package as well as different ways to import them into our widgets.…
New post on /r/flutterdev subreddit:
FSuper: Build complex views quickly and comfortably. Supports rich text, rounded corners, borders, pictures, small red dots, and set up to two sub-components at the same time, and control their relative positions. (Alibaba)
https://ift.tt/2UnvLGz
March 27, 2020 at 10:55PM by Elixane
https://ift.tt/2QTHdb4
FSuper: Build complex views quickly and comfortably. Supports rich text, rounded corners, borders, pictures, small red dots, and set up to two sub-components at the same time, and control their relative positions. (Alibaba)
https://ift.tt/2UnvLGz
March 27, 2020 at 10:55PM by Elixane
https://ift.tt/2QTHdb4
Dart packages
fsuper | Flutter Package
FSuper can help developers build complex views quickly and comfortably.
New post on /r/flutterdev subreddit:
Some say Dart is bad. I like it for one big reason, language-level meta-programming. Make your own language features!
I feel like I haven't seen this topic discussed before, so I'm discussing it now. I see people who say they dislike Dart due to how verbose or Java-like it is; that it doesn't have the latest features likealgebraic data types / sealed classes / tagged enumsexhaustive pattern matchingnon-nullable types (before Dart added them)higher-kinded typeshooks (like in React)and so on. However, what Dart has that is missing in many languages, even the most popular ones, is reflection, either at compile or run-time. Basically, the language can introspect its source code and can create new classes or functions. What this means practically is that you can create any language-level features that you think are missing from other languages. Sure, it's a little clunky with compiled classes and
March 28, 2020 at 12:39AM by satvikpendem
https://ift.tt/2QPaVxV
Some say Dart is bad. I like it for one big reason, language-level meta-programming. Make your own language features!
I feel like I haven't seen this topic discussed before, so I'm discussing it now. I see people who say they dislike Dart due to how verbose or Java-like it is; that it doesn't have the latest features likealgebraic data types / sealed classes / tagged enumsexhaustive pattern matchingnon-nullable types (before Dart added them)higher-kinded typeshooks (like in React)and so on. However, what Dart has that is missing in many languages, even the most popular ones, is reflection, either at compile or run-time. Basically, the language can introspect its source code and can create new classes or functions. What this means practically is that you can create any language-level features that you think are missing from other languages. Sure, it's a little clunky with compiled classes and
.g.dart
files, and sure it may not be as powerful as Lisp or Haskell, but most people aren't even coding in languages with such features. Javascript has this somewhat with Babel plugins but you won't see most people using them to a large extent.So if you want the features above, some of them have their own packages, like freezed (ADTs, pattern matching), flutter-hooks, dartz (Haskell-like functional programming with higher-kinded types, monads, immutable data structures), and so on. Obviously if these were all language-level features rather than community packages, it would be better, but sometimes the community can do it better. As well, a language can't have every feature under the sun as it would become too bloated, like C++, so at least this is a good alternative.This flexibility, along with the integrated package manager, JIT and AOT compilation to many different platforms like x86, ARM and even Javascript, and the rest of the developer experience is why I personally like Dart.March 28, 2020 at 12:39AM by satvikpendem
https://ift.tt/2QPaVxV
Dart packages
freezed | Dart package
Code generation for immutable classes that has a simple syntax/API without compromising on the features.
New post on Flutter Dev Google group:
please how to print to pos printer!!!!!!!!!!!!!!!!
please learn me how to print to pos printer!!!!!!!!!!!!!!!!!!!!!!!!!!!
March 28, 2020 at 01:21AM by teshk ss
https://ift.tt/2JmRrwc
please how to print to pos printer!!!!!!!!!!!!!!!!
please learn me how to print to pos printer!!!!!!!!!!!!!!!!!!!!!!!!!!!
March 28, 2020 at 01:21AM by teshk ss
https://ift.tt/2JmRrwc
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 Flutter Dev Google group:
Android emulator(Nexus 6 ) option is missing from Select devices only Chrome(Web) and Web Server options are apperar.
After updating flutter for web development my android emulator (Nexus 6 ) is missing from Select Device Option. Only two option shows currently 1. Chrome (Web) and 2. Web Server (Web). *I used following three commands :* flutter channel beta flutter upgrade flutter config --enable-web "I
March 28, 2020 at 01:32AM by Parth Patel
https://ift.tt/3dE2mjk
Android emulator(Nexus 6 ) option is missing from Select devices only Chrome(Web) and Web Server options are apperar.
After updating flutter for web development my android emulator (Nexus 6 ) is missing from Select Device Option. Only two option shows currently 1. Chrome (Web) and 2. Web Server (Web). *I used following three commands :* flutter channel beta flutter upgrade flutter config --enable-web "I
March 28, 2020 at 01:32AM by Parth Patel
https://ift.tt/3dE2mjk
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:
Function Widgets or Stateless/ful Widgets?
Is there anything wrong with this practice? We all know the boilerplate that comes with extending StatelessWidget.Lately I've been making platonic Widgets with functions using Builder. Is there anything wrong with this practice?
March 28, 2020 at 05:45AM by zealothree
https://ift.tt/2Jm5mTy
Function Widgets or Stateless/ful Widgets?
Is there anything wrong with this practice? We all know the boilerplate that comes with extending StatelessWidget.Lately I've been making platonic Widgets with functions using Builder. Is there anything wrong with this practice?
// Outside a StatelessWidget Widget myWidget(BuildContext context, String s) { return Builder(builder: (context) { return Text(s); }); } // ... in some StatelessWidget @override Widget build(BuildContext context) { return myWidget(context, "Hello World"); }It seems too good to be true. There has to be some incurred costs to writing Function Widgets. What do you think?
March 28, 2020 at 05:45AM by zealothree
https://ift.tt/2Jm5mTy
reddit
Function Widgets or Stateless/ful Widgets?
Is there anything wrong with this practice? We all know the boilerplate that comes with extending `StatelessWidget`. Lately I've been making...
New post on /r/flutterdev subreddit:
SweetSheet v0.2.0 (Full customisation)
The version 0.2.0 of sweetsheet is out with full color and text customisation capabilities. Go check it out.sweetsheet package
March 28, 2020 at 08:52AM by CorneilleEdi
https://ift.tt/2wxbRjz
SweetSheet v0.2.0 (Full customisation)
The version 0.2.0 of sweetsheet is out with full color and text customisation capabilities. Go check it out.sweetsheet package
March 28, 2020 at 08:52AM by CorneilleEdi
https://ift.tt/2wxbRjz
Dart packages
sweetsheet | Flutter Package
Show beautiful bottom sheet as confirmation dialog quickly and easily.
New post on Flutter Dev Google group:
Android toolchain
???what i should doing to solve this
March 28, 2020 at 11:27AM by Muamml
https://ift.tt/2UncFAz
Android toolchain
???what i should doing to solve this
March 28, 2020 at 11:27AM by Muamml
https://ift.tt/2UncFAz
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:
Reverse engineering Flutter apps (Part 1)
https://ift.tt/2UVC8jN
March 28, 2020 at 12:21PM by InfiniPixel
https://ift.tt/2WWoxei
Reverse engineering Flutter apps (Part 1)
https://ift.tt/2UVC8jN
March 28, 2020 at 12:21PM by InfiniPixel
https://ift.tt/2WWoxei
PixelToast
Reverse engineering Flutter apps (Part 1)
Chapter 1: Down the rabbit hole
To start this journey I'll cover some backstory on the Flutter stack and how it
works.
What you probably already know: Flutter was built from the ground up with its
own render pipeline and widget library, allowing it to be…
To start this journey I'll cover some backstory on the Flutter stack and how it
works.
What you probably already know: Flutter was built from the ground up with its
own render pipeline and widget library, allowing it to be…
New post on /r/flutterdev subreddit:
so uh should i learn dart before jumping into flutter
so i came across on this language and since people are saying its easy to pick up i saw it by myself and hell 24 lines of code for hello world ? like how is this "easy?" i know lines doesn't matter but whatever my point is is dart going to make this prcess easier or nope?also i wanna use flutter for desktop not mobile devThanks
March 28, 2020 at 12:47PM by Haitamdragon
https://ift.tt/2WPVJ7e
so uh should i learn dart before jumping into flutter
so i came across on this language and since people are saying its easy to pick up i saw it by myself and hell 24 lines of code for hello world ? like how is this "easy?" i know lines doesn't matter but whatever my point is is dart going to make this prcess easier or nope?also i wanna use flutter for desktop not mobile devThanks
March 28, 2020 at 12:47PM by Haitamdragon
https://ift.tt/2WPVJ7e
reddit
so uh should i learn dart before jumping into flutter
A subreddit for Google's portable UI framework.
New post on /r/flutterdev subreddit:
Stay Logged In Across Life Cycle
https://youtu.be/h1iXyPhRkHA
March 28, 2020 at 12:37PM by craetornetwork
https://ift.tt/3by72VT
Stay Logged In Across Life Cycle
https://youtu.be/h1iXyPhRkHA
March 28, 2020 at 12:37PM by craetornetwork
https://ift.tt/3by72VT
YouTube
Stay Logged In Across Life Cycle | Complete Flutter App #7
Stay Logged In Across Life Cycle | Complete Flutter App #7
So far in this series we have added a log in feature for both email and password and using a Google account. However, every time we close the app, the user will have to resign in. That's wayyyy too…
So far in this series we have added a log in feature for both email and password and using a Google account. However, every time we close the app, the user will have to resign in. That's wayyyy too…
New post on /r/flutterdev subreddit:
DateField made easy
https://ift.tt/3aqYQGU
March 28, 2020 at 01:10PM by gaspard-m
https://ift.tt/2UmTlDr
DateField made easy
https://ift.tt/3aqYQGU
March 28, 2020 at 01:10PM by gaspard-m
https://ift.tt/2UmTlDr
Medium
DateField in Flutter Made Easy
Did you wonder how to display a date field in Flutter? Here is how to do so!
New post on /r/flutterdev subreddit:
Coronavirus tracker application and news updates built with flutter
https://ift.tt/3byea4B
March 28, 2020 at 01:46PM by Mastersamxyz
https://ift.tt/2vUGUFw
Coronavirus tracker application and news updates built with flutter
https://ift.tt/3byea4B
March 28, 2020 at 01:46PM by Mastersamxyz
https://ift.tt/2vUGUFw
GitHub
Mastersam07/toju_wa
A corona virus tracker application in flutter. Contribute to Mastersam07/toju_wa development by creating an account on GitHub.
New post on /r/flutterdev subreddit:
Does anyone implement any design pattern in flutter ?
And wonder does anyone implement Sushi design pattern in flutter ?
March 28, 2020 at 01:38PM by pspatel602
https://ift.tt/2JmGP0E
Does anyone implement any design pattern in flutter ?
And wonder does anyone implement Sushi design pattern in flutter ?
March 28, 2020 at 01:38PM by pspatel602
https://ift.tt/2JmGP0E
reddit
Does anyone implement any design pattern in flutter ?
A subreddit for Google's portable UI framework.
New post on /r/flutterdev subreddit:
Here we go again
/r/Flutter/comments/fqhup0/will_flutterdart_survive_long/
March 28, 2020 at 02:44PM by ---jane---
https://ift.tt/2UFKewJ
Here we go again
/r/Flutter/comments/fqhup0/will_flutterdart_survive_long/
March 28, 2020 at 02:44PM by ---jane---
https://ift.tt/2UFKewJ
reddit
Here we go again
A subreddit for Google's portable UI framework.
New post on /r/flutterdev subreddit:
Alternative ad network
Is there any alternative ad network that supports flutter? I am having an annoying account problem with Admob and am not able to use it unfortunately, which is why I am searching for alternatives.
March 28, 2020 at 02:57PM by lvinci
https://ift.tt/2QSK9V9
Alternative ad network
Is there any alternative ad network that supports flutter? I am having an annoying account problem with Admob and am not able to use it unfortunately, which is why I am searching for alternatives.
March 28, 2020 at 02:57PM by lvinci
https://ift.tt/2QSK9V9
reddit
Alternative ad network
Is there any alternative ad network that supports flutter? I am having an annoying account problem with Admob and am not able to use it...
New post on /r/flutterdev subreddit:
(HELP) How to constantly find a Modal Bottom Sheet's y position?
I have a showModalBottomSheet widget popup and I want to find it's position constantly so I can use this information to animate the border-radius.I don't think this is the best way to do this. It seems I can do this with the animation controller for the bottom sheet if I can get the value for that but I'm not sure how to do that either.I have tried finding the position using a RenderBox but it seems it can only be called once not with every frame.I'm a beginner with Flutter and Dart so I apologize if this is trivial lol
March 28, 2020 at 03:32PM by sk8tyger
https://ift.tt/3dGZy51
(HELP) How to constantly find a Modal Bottom Sheet's y position?
I have a showModalBottomSheet widget popup and I want to find it's position constantly so I can use this information to animate the border-radius.I don't think this is the best way to do this. It seems I can do this with the animation controller for the bottom sheet if I can get the value for that but I'm not sure how to do that either.I have tried finding the position using a RenderBox but it seems it can only be called once not with every frame.I'm a beginner with Flutter and Dart so I apologize if this is trivial lol
March 28, 2020 at 03:32PM by sk8tyger
https://ift.tt/3dGZy51
reddit
(HELP) How to constantly find a Modal Bottom Sheet's y position?
A subreddit for Google's portable UI framework.