Flutter Heroes
25.8K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on Flutter Dev Google group:

Accessing Light _and_ Dark themes programmatically
I need to get access to the color schemes for the light _and_dark themes in my widget (theme switcher). Obviously, (and thankfully) Theme.of(context) returns the current theme, but I need access to both. Both are properties on the MaterialApp instance, but MaterialApp does not implement

January 17, 2021 at 04:36PM by James Cook
https://ift.tt/2NeYUmr
New post on Flutter Dev Google group:

Fwd: Skype Clone in flutter
---------- Forwarded message --------- From: Karan Tripathi
New post on /r/flutterdev subreddit:

Hello Everyone, I have created a flutter package using which REST APIs can be easily integrated into flutter apps using the basic bloc principles. Take a look and tell me what you think! #flutter #flutterdev
https://ift.tt/3qzG5J7

January 17, 2021 at 05:17PM by idreesBughio
https://ift.tt/2XO1SAj
New post on /r/flutterdev subreddit:

How does context.select decide what to watch for?
In the following example, we are telling the provider to update this widget only when the person.name changes:
Widget build(BuildContext context) { final name = context.select((Person p) => p.name); return Text(name); } 
That is easy to understand. However, there are some examples of context.select() that I don't understand. For example, in the following code:
class _AddButton extends StatelessWidget { final Item item; const _AddButton({Key key, @required this.item}) : super(key: key); @override Widget build(BuildContext context) { // The context.select() method will let you listen to changes to // a *part* of a model. You define a function that "selects" (i.e. returns) // the part you're interested in, and the provider package will not rebuild // this widget unless that particular part of the model changes. // // This can lead to significant performance improvements. var isInCart = context.select<CartModel, bool>( // Here, we are only interested whether [item] is inside the cart. (cart) => cart.items.contains(item), ); 
What change will cause the re-build of the above widget? How does the "provider" detect that change?

January 17, 2021 at 06:31PM by 4k2020
https://ift.tt/3itaENB
New post on Flutter Dev Google group:

Getting error on running flutter (linux desktop)
Hi, I started with the flutter (desktop) guide today. After creating a project with flutter create, I moved to the project and tried running "flutter run". I am getting the following error Launching lib/main.dart on Linux in debug mode... Building Linux application...

January 17, 2021 at 07:14PM by Sachin Saxena
https://ift.tt/2NdhNGm
New post on /r/flutterdev subreddit:

Accepting monetary gifts in flutter
So I'm writing an app to handle some things for my wedding. RSVPs, photo sharing, day of schedule, etc... and I would like to allow users to give wedding gifts through it.Initially I created a page with links to my various cash app accounts so users could use their favorite money sending app to do this. It was rejected by google for not following in app purchase rules that require Google pay.So, I have some questions, what approach should I take to achieve this? Is it possible to allow guests to use venmo, etc? Do i have to use google pay instead?I am making an iOS version also but still have some work to do on push notifications for that platform. Will i run into the same issue there?

January 17, 2021 at 08:42PM by Stanrock
https://ift.tt/38SyKhH
New post on /r/flutterdev subreddit:

State Management
What is the best state management to use when developing E-commerce app ?

January 18, 2021 at 12:32AM by El-Mazouzi
https://ift.tt/2M3F38U
New post on Flutter Dev Google group:

flutter voice call in app
Hi, hello, friends, I am new here and I wanted to know if I can do a voice call inside the flutter app just like we can do on Facebook or skype? if yes can anyone lead me on how to do this as I want to implement this in my project. please help me. thank you

January 18, 2021 at 06:15AM by palak pandey
https://ift.tt/2XO2AgK
New post on /r/flutterdev subreddit:

What are the norms that you follow for Flutter development?
This can be anything like a minimum height and width for Buttons, handling devices with various sizes (mobiles, tabs etc), sharing common styles etc.Let's discuss.

January 18, 2021 at 08:16AM by georgetk1996
https://ift.tt/3qyW6P9
New post on /r/flutterdev subreddit:

Flutter 101 podcast - what/who would you like to hear? Launch on March 1
https://flutter101.dev/

January 17, 2021 at 10:56PM by serial_dev
https://ift.tt/3nWlRHD
New post on /r/flutterdev subreddit:

Network Connectivity in Flutter
A quick article on how to check the network connectivity in Flutter. We will see three ways to check the network connectivity in Flutter.

January 18, 2021 at 09:30AM by Fewthp
https://ift.tt/38R9qbI
New post on /r/flutterdev subreddit:

Flutter plugin featured #4 on ProductHunt!
Today we launched Pal on Product Hunt.
Pal is a complete solution for flutter apps to guide your users and connect with them.It's currently #4 featured on it and that feels amazing.
https://www.producthunt.com/posts/pal

January 18, 2021 at 11:59AM by mcfly-dev
https://ift.tt/3nWjy7g
New post on /r/flutterdev subreddit:

I have a question for the devs here
How long would it take to create a production ready flutter mobile app with a laravel api? If anybody has done it, let me know how and what was the experience like.

January 18, 2021 at 11:55AM by C0d3rStreak
https://ift.tt/2M3EWKx