New post on /r/flutterdev subreddit:
No more boilerplate consuming Streams/BLoCs
I feel there's so much unnecessary code in my codebase every time I use a Stream!And I'm not the only one, there's a TON of projects where this happens, too.THE pattern π©
December 06, 2019 at 01:59PM by frank06_
https://ift.tt/388UqDX
No more boilerplate consuming Streams/BLoCs
I feel there's so much unnecessary code in my codebase every time I use a Stream!And I'm not the only one, there's a TON of projects where this happens, too.THE pattern π©
dart StreamBuilder( stream: bloc.stock, builder: (context, AsyncSnapshot<Stock> snapshot) { if (snapshot.hasData) { return Text(snapshot.data.stock.toString()); } else if (snapshot.hasError) { return Text(snapshot.error.toString()); } return Center(child: CircularProgressIndicator()); }, ),
What if we could write it like this?DataStreamBuilder( stream: bloc.stock, builder: (context, Stock stock) => Text(stock.local.toString()) ),
(And have the famous CircularProgressIndicator
included by default).It can be overriden, of course, just like the error loading:DataStreamBuilder<Stock>( stream: bloc.stock, loadingBuilder: (context) => Center(child: Text('Loading posts...')), errorBuilder: (context, error) => PostErrorView(error), builder: (context, Stock stock) => Text(stock.local.toString()) )
I opened source DataStreamBuilder
:https://pub.dev/packages/flutter_data_stream_builder#-readme-tab-December 06, 2019 at 01:59PM by frank06_
https://ift.tt/388UqDX
GitHub
GitHub is where people build software. More than 40 million people use GitHub to discover, fork, and contribute to over 100 million projects.
New post on /r/flutterdev subreddit:
Is Flutter ready for production? [CASE STUDY] - lessons we learned building our first Flutter app
https://ift.tt/365V9Uv
December 06, 2019 at 01:58PM by Vi_olet
https://ift.tt/2RqcoM5
Is Flutter ready for production? [CASE STUDY] - lessons we learned building our first Flutter app
https://ift.tt/365V9Uv
December 06, 2019 at 01:58PM by Vi_olet
https://ift.tt/2RqcoM5
New post on /r/flutterdev subreddit:
Flutter π The widgets are trees π² your app is a forest π²π²π
https://ift.tt/2OVzOXV
December 06, 2019 at 03:04PM by hillel369
https://ift.tt/2DODlRL
Flutter π The widgets are trees π² your app is a forest π²π²π
https://ift.tt/2OVzOXV
December 06, 2019 at 03:04PM by hillel369
https://ift.tt/2DODlRL
Hillel Coren
Flutter π The widgets are trees π² your app is a forest π²π²π
These are a few of the things I wish someone had shown me when I first started learning Flutter. To start, if things arenβt working and you arenβt sure why try running flutter clean, itβs kind of aβ¦
New post on /r/flutterdev subreddit:
I've always enjoyed watching those speed code videos, so I made one myself - hope you guys like it. And I'm still learning, so feel free to tell me when I can do something better :)
https://youtu.be/7FdASZ9-Rn8
December 06, 2019 at 03:41PM by levelupdigital
https://ift.tt/2rbtz9G
I've always enjoyed watching those speed code videos, so I made one myself - hope you guys like it. And I'm still learning, so feel free to tell me when I can do something better :)
https://youtu.be/7FdASZ9-Rn8
December 06, 2019 at 03:41PM by levelupdigital
https://ift.tt/2rbtz9G
YouTube
Flutter Log-In Page UI Concept | Speed Code
Speed Code of a UI concept for a log in page. Made with flutter. Thank you for watching, if you liked it please leave a like and subscribe for more content i...
New post on /r/flutterdev subreddit:
All the widgets from the Flutter widget index in a single image
Flutter widgetsSometimes it's hard to recall the extensive range of widgets that flutter provides, so I've made a easy to use image containing all of the widgets that are currently available.
December 06, 2019 at 05:22PM by madebyayan
https://ift.tt/2sKfW1l
All the widgets from the Flutter widget index in a single image
Flutter widgetsSometimes it's hard to recall the extensive range of widgets that flutter provides, so I've made a easy to use image containing all of the widgets that are currently available.
December 06, 2019 at 05:22PM by madebyayan
https://ift.tt/2sKfW1l
Imgur
Flutter widgets
All the flutter widgets in a single image
New post on Flutter Dev Google group:
Scrollable AlertDialog widget
I created a design doc for a breaking change proposal to the AlertDialog widget (https://ift.tt/2rYOH2X). Please take a look if you're interested. All feedback is welcome [image: :slight_smile:] tldr; this change would make the AlertDialog widget scrollable by default, and
December 06, 2019 at 08:25PM by Shi Hao Hong
https://ift.tt/368P75j
Scrollable AlertDialog widget
I created a design doc for a breaking change proposal to the AlertDialog widget (https://ift.tt/2rYOH2X). Please take a look if you're interested. All feedback is welcome [image: :slight_smile:] tldr; this change would make the AlertDialog widget scrollable by default, and
December 06, 2019 at 08:25PM by Shi Hao Hong
https://ift.tt/368P75j
Google Docs
Scrollable AlertDialog (PUBLICLY SHARED)
SUMMARY AlertDialog should scroll automatically when it overflows Author: Shi-Hao Hong (shihaohong) Go Link: flutter.dev/go/scrollable-alert-dialog Created: November 27, 2019 / Last updated: December 16, 2019 OBJECTIVE Implement an inherently scrollableβ¦
New post on Flutter Dev Google group:
App VS Code flutter ERROR redirect. For God's sake someone helps me!
I'm starting here in the community and recent in flutter. I have a mission to use json and input controller. I need the button to exit the first screen redirect to the second screen, save and return to the first showing (name and value). The Second Screen form will have fields: name, phone, date
December 06, 2019 at 08:29PM by Israel Lira
https://ift.tt/2PiVmgh
App VS Code flutter ERROR redirect. For God's sake someone helps me!
I'm starting here in the community and recent in flutter. I have a mission to use json and input controller. I need the button to exit the first screen redirect to the second screen, save and return to the first showing (name and value). The Second Screen form will have fields: name, phone, date
December 06, 2019 at 08:29PM by Israel Lira
https://ift.tt/2PiVmgh
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:
Stateless vs Stateful Widget
Hello there Everyone ππ I hope that you guys are doing well.Here's the thing, I asked this before about whats the difference between stateless and stateful widgets and I'm still confused about them.Now, I'm confused how will I know which one to use and which one not? Means I've seen some tutorials where people made there Main class as statless while some used them as stateful.Any help will be appreciated. Thanks πβΊοΈ
December 06, 2019 at 09:12PM by m_hamzashakeel
https://ift.tt/2Ryq4EG
Stateless vs Stateful Widget
Hello there Everyone ππ I hope that you guys are doing well.Here's the thing, I asked this before about whats the difference between stateless and stateful widgets and I'm still confused about them.Now, I'm confused how will I know which one to use and which one not? Means I've seen some tutorials where people made there Main class as statless while some used them as stateful.Any help will be appreciated. Thanks πβΊοΈ
December 06, 2019 at 09:12PM by m_hamzashakeel
https://ift.tt/2Ryq4EG
reddit
Stateless vs Stateful Widget
Hello there Everyone ππ I hope that you guys are doing well. Here's the thing, I asked this before about whats the difference between...
New post on Flutter Dev Google group:
New Dart DevTools Release 0.1.12
DevTools 0.1.12 Release Notes Dart DevTools - A Suite of Performance Tools for Dart and Flutter General Updates - An alpha version of DevTools written in Flutter is available for testing! To test out DevTools in Flutter, click the βbeakerβ icon in the upper-right corner
December 06, 2019 at 09:56PM by Dave Shuckerow
https://ift.tt/2sLrKAq
New Dart DevTools Release 0.1.12
DevTools 0.1.12 Release Notes Dart DevTools - A Suite of Performance Tools for Dart and Flutter General Updates - An alpha version of DevTools written in Flutter is available for testing! To test out DevTools in Flutter, click the βbeakerβ icon in the upper-right corner
December 06, 2019 at 09:56PM by Dave Shuckerow
https://ift.tt/2sLrKAq
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:
AutoRoute is a route generation library, where everything needed for navigation is automatically generated for you.
https://ift.tt/2rcuJli
December 06, 2019 at 09:23PM by Milad_Alakarie
https://ift.tt/38gkzQX
AutoRoute is a route generation library, where everything needed for navigation is automatically generated for you.
https://ift.tt/2rcuJli
December 06, 2019 at 09:23PM by Milad_Alakarie
https://ift.tt/38gkzQX
Dart packages
auto_route | Flutter Package
AutoRoute is a declarative routing solution, where everything needed for navigation is automatically generated for you.
New post on /r/flutterdev subreddit:
Concise HTML writer syntax using extension methods
https://ift.tt/2LvKU3O
December 06, 2019 at 10:28PM by Abion47
https://ift.tt/2LsPvDO
Concise HTML writer syntax using extension methods
https://ift.tt/2LvKU3O
December 06, 2019 at 10:28PM by Abion47
https://ift.tt/2LsPvDO
GitHub
Abion47/html_factory
An extension of String to enable concise HTML composition. - Abion47/html_factory
New post on /r/flutterdev subreddit:
Snowflake effect
Can anyone help with an effect where snowflakes are falling down the page please. Or better still point me to a library/tutorial that will help me do it myself.
December 06, 2019 at 10:24PM by mrksndrs
https://ift.tt/2LsPoIo
Snowflake effect
Can anyone help with an effect where snowflakes are falling down the page please. Or better still point me to a library/tutorial that will help me do it myself.
December 06, 2019 at 10:24PM by mrksndrs
https://ift.tt/2LsPoIo
reddit
Snowflake effect
Can anyone help with an effect where snowflakes are falling down the page please. Or better still point me to a library/tutorial that will help me...
New post on /r/flutterdev subreddit:
Would using AngularDart be a good idea?
https://ift.tt/2OZLh9c
December 07, 2019 at 12:01AM by BLUXIV
https://ift.tt/38husxR
Would using AngularDart be a good idea?
https://ift.tt/2OZLh9c
December 07, 2019 at 12:01AM by BLUXIV
https://ift.tt/38husxR
reddit
Would using Angular dart be a good idea?
Hello everyone, I've been stuck on this question for about a long time and would appreciate any suggestions. I've been developing websites with...
New post on /r/flutterdev subreddit:
Super Enum πͺ Dart & Flutter Tutorial β Store Custom Data
https://www.youtube.com/watch?v=iS_05wRScic
December 06, 2019 at 11:54PM by Elixane
https://ift.tt/2PrIiFA
Super Enum πͺ Dart & Flutter Tutorial β Store Custom Data
https://www.youtube.com/watch?v=iS_05wRScic
December 06, 2019 at 11:54PM by Elixane
https://ift.tt/2PrIiFA
YouTube
Super Enum πͺ Dart & Flutter Tutorial β Store Custom Data
π Learn from the written tutorial ππ
https://resocoder.com/super-enum
π― The biggest Flutter conference in Europe:
https://fluttereurope.dev
π§ Get Flutter news π° and resources:
π http://flutter.education
π¨βπ» Do you write good code? Find out now!
https:β¦
https://resocoder.com/super-enum
π― The biggest Flutter conference in Europe:
https://fluttereurope.dev
π§ Get Flutter news π° and resources:
π http://flutter.education
π¨βπ» Do you write good code? Find out now!
https:β¦
New post on /r/flutterdev subreddit:
Architecture of the Google Play Brasil Best App of 2019. 1.5M+ installs, score 4.9 with 68.000+ ratings.
Hi everyone! I'm Ricardo from CΓngulo (www.cingulo.com). Our app has been featured by Google Play as the Best App of 2019 for Brazil. We have 1.500.000+ installs and a score of 4.9 on the store with 68.000+ ratings.We have published a very similar architecture as the one we are using at https://github.com/cingulo/flutter-sample . This sample app is fully working, with a sample API also available.It took us about 3 months to build the app from zero knowledge about Flutter. When we started, it was hard to find fully working, complete examples to play with. This is why we have decided to publish this project.Every project may have its own architecture. This is what worked for us. There are still improvements to be done but it already is a good starting point and it would have helped us a lot if had something similar to this when we started.This post is not intended to promote our app as it actually is not even available in most countries and we already have good numbers. But I did mention our numbers to show that this architecture has already reached many people and is working very well. Anyway, if moderators find this an unwanted promotion, remove the post.Hope it can be useful for some, it would have been for us :)
December 06, 2019 at 11:19PM by rmserro
https://ift.tt/2RuvHDR
Architecture of the Google Play Brasil Best App of 2019. 1.5M+ installs, score 4.9 with 68.000+ ratings.
Hi everyone! I'm Ricardo from CΓngulo (www.cingulo.com). Our app has been featured by Google Play as the Best App of 2019 for Brazil. We have 1.500.000+ installs and a score of 4.9 on the store with 68.000+ ratings.We have published a very similar architecture as the one we are using at https://github.com/cingulo/flutter-sample . This sample app is fully working, with a sample API also available.It took us about 3 months to build the app from zero knowledge about Flutter. When we started, it was hard to find fully working, complete examples to play with. This is why we have decided to publish this project.Every project may have its own architecture. This is what worked for us. There are still improvements to be done but it already is a good starting point and it would have helped us a lot if had something similar to this when we started.This post is not intended to promote our app as it actually is not even available in most countries and we already have good numbers. But I did mention our numbers to show that this architecture has already reached many people and is working very well. Anyway, if moderators find this an unwanted promotion, remove the post.Hope it can be useful for some, it would have been for us :)
December 06, 2019 at 11:19PM by rmserro
https://ift.tt/2RuvHDR
New post on /r/flutterdev subreddit:
Any solution to using Flutter + Firebase Auth + Apple Sign In?
My app just got denied because I had Google Sign In but now Apple Sign In. I would love a fix very soon.
December 07, 2019 at 01:13AM by garrettmortara
https://ift.tt/36czPN7
Any solution to using Flutter + Firebase Auth + Apple Sign In?
My app just got denied because I had Google Sign In but now Apple Sign In. I would love a fix very soon.
December 07, 2019 at 01:13AM by garrettmortara
https://ift.tt/36czPN7
reddit
Any solution to using Flutter + Firebase Auth + Apple Sign In?
My app just got denied because I had Google Sign In but not Apple Sign In. I would love a fix very soon.
New post on /r/flutterdev subreddit:
Retrofit for api
Is it better to use retrofit and di in flutter for easy implementation in api call?
December 07, 2019 at 01:56AM by Jecky633
https://ift.tt/2RssDs8
Retrofit for api
Is it better to use retrofit and di in flutter for easy implementation in api call?
December 07, 2019 at 01:56AM by Jecky633
https://ift.tt/2RssDs8
reddit
Retrofit for api
Is it better to use retrofit and di in flutter for easy implementation in api call?
New post on /r/flutterdev subreddit:
Pad: quick padding
https://ift.tt/2qxLoPQ
December 07, 2019 at 02:42AM by synw_
https://ift.tt/36f8Dxl
Pad: quick padding
https://ift.tt/2qxLoPQ
December 07, 2019 at 02:42AM by synw_
https://ift.tt/36f8Dxl
GitHub
synw/pad
Quick padding for Flutter. Contribute to synw/pad development by creating an account on GitHub.
New post on /r/flutterdev subreddit:
Calculator App made with Flutter
Hey guys!I recently started learning flutter and just made my first calculator from it. Would love to get any feedback on the code behind it. I'm sure there's a much more efficient way of what I made so I'm open to criticism. The link to the code:https://github.com/createdbymitch/flatcalculatorfollow me on instagram @ createdbymitch I'm doing a 100 day coding challenge!
https://www.instagram.com/createdbymitch/
December 07, 2019 at 04:30AM by Heisenlife
https://ift.tt/369PxIF
Calculator App made with Flutter
Hey guys!I recently started learning flutter and just made my first calculator from it. Would love to get any feedback on the code behind it. I'm sure there's a much more efficient way of what I made so I'm open to criticism. The link to the code:https://github.com/createdbymitch/flatcalculatorfollow me on instagram @ createdbymitch I'm doing a 100 day coding challenge!
https://www.instagram.com/createdbymitch/
December 07, 2019 at 04:30AM by Heisenlife
https://ift.tt/369PxIF
GitHub
createdbymitch/flatcalculator
Powered by Flutter. Contribute to createdbymitch/flatcalculator development by creating an account on GitHub.
New post on /r/flutterdev subreddit:
What are some use cases of auth sign in with Google/Facebook etc without Firebase/server side auth?
This Flutter tutorial video https://www.youtube.com/watch?v=8o-DJDi2bmQ explains how to use Google Sign In without Firebase. Basically the app just uses Google Sign In SDK to retrieve the access token and user info. There is no server side auth such as Firebase involved. One scenario where you implement auth in this way is when your app is a client of the provider's service, for example writing a Google Drive client or Facebook client or Reddit client. Are there some other use cases or types of mobile app that one could just implement auth this way without involving server side auth?
December 07, 2019 at 06:51AM by etca2z
https://ift.tt/38cWJWp
What are some use cases of auth sign in with Google/Facebook etc without Firebase/server side auth?
This Flutter tutorial video https://www.youtube.com/watch?v=8o-DJDi2bmQ explains how to use Google Sign In without Firebase. Basically the app just uses Google Sign In SDK to retrieve the access token and user info. There is no server side auth such as Firebase involved. One scenario where you implement auth in this way is when your app is a client of the provider's service, for example writing a Google Drive client or Facebook client or Reddit client. Are there some other use cases or types of mobile app that one could just implement auth this way without involving server side auth?
December 07, 2019 at 06:51AM by etca2z
https://ift.tt/38cWJWp
YouTube
Flutter Tutorial | People API | Google Sign In without Firebase
Hey everyone! This video covers the implementation of Google Sign In in your Flutter application without using Firebase. It just mimics the Google Sign In and retrieves the user's information using Google People API.
Github repository:
https://github.coβ¦
Github repository:
https://github.coβ¦