Flutter Heroes
25.6K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on /r/flutterdev subreddit:

What is the most KISS approach to overall state management for this app's use case? I'm a little overwhelmed by all of the options.
I come from a background in web development and Go. In web development session management is dead simple and in Go there's a right and a wrong way to do everything. I've hit a point in my app where I can't go much further without implementing auth (through Firebase) and it's making me look more closely at what I choose for state management. There are too many options and I really don't want to get too far down the path of implementing one then find out I should have gone another direction. There's been so much written on state management in Flutter but the development of the framework has moved so quickly it's difficult to filter out what is good, modern advice.My app is a sort of database of locations for a specific hobby. It will implement login, searching for locations, score keeping, record keeping, groups, and some basic communication. As much as I hate to use the term, you might call it a niche social network.Based on hours of reading and watching Youtube videos I believe the best and most simple way to handle this would be by wrapping the whole thing in a StreamProvider exposing the user object. This should let all child widgets react to the user state as I understand it. All other state management implementations in respect to auth seem to be far more complex. Would more experienced Flutter developers agree with my assessment or is there something else I should look at for this specific case?

July 21, 2019 at 06:35PM by Fantastitech
https://ift.tt/2JIynJV
New post on Flutter Dev Google group:

problem in setting path for flutter in window 8.1 ?????
there is a problem while setting path for flutter in window 8.1 will anyone help me to resolve this

July 21, 2019 at 09:29PM by Sardar Muhammad Umair
https://ift.tt/30PYQv0
New post on /r/flutterdev subreddit:

Join Flutter WhatsApp group
https://ift.tt/2Z9ThXS

July 22, 2019 at 12:37AM by JideGuru
https://ift.tt/2xYvCNR
New post on /r/flutterdev subreddit:

Integration and Unit testing in Flutter
Have you ever launched an app without testing? I hope your answer is “NO”. You don’t want your customers to have unexpected crashes or a buggy app. So in today's article, I will be showing you how to write both unit and integration test for your Flutter app. This is the final part of my series "Architect your Flutter project using BLoC".https://medium.com/@sagarsuri56/integration-and-unit-testing-in-flutter-f08e4bd961d5

July 22, 2019 at 03:27AM by sagarsuri56
https://ift.tt/30Wcc95
New post on /r/flutterdev subreddit:

Projects to learn Flutter
Can you share some projects where I can improve my Flutter knowledge.

July 22, 2019 at 09:46AM by rokoda1
https://ift.tt/2LBQfbp
New post on Flutter Dev Google group:

How to Prevent Screen Recording and Screen shoot?
I using this https://ift.tt/2YkuqDs But it worked some latest mobile only. Not worked Chinese mobile like Xiomi y1 lite, Redmi note 4, Cool Pad etc screen recording inbuilt functionality. I developed Educational Video courses App. So I

July 22, 2019 at 12:24PM by Alpesh Shendre
https://ift.tt/2Y6F64j
New post on /r/flutterdev subreddit:

How to Prevent Screen Recording and Screen shoot ?
How to Prevent Screen Recording and Screen shoot?  I using this https://developer.android.com/reference/android/view/Display.html#FLAG\_SECURE​But it worked some latest mobile only. Not worked Chinese mobile like Xiomi y1 lite, Redmi note 4, Cool Pad etc screen recording inbuilt functionality. I developed Educational Video courses App. So I want someone not copy my video. I want prevent screen recording in all mobile device. It’s possible on Android. But I developed in Flutter. Please help.

July 22, 2019 at 12:20PM by alpesh-web
https://ift.tt/2Z8sqeA
New post on /r/flutterdev subreddit:

Classified App UI: A sample UI to showcase classified app using flutter.
https://ift.tt/2XZSM67

July 22, 2019 at 12:41PM by Flutter-Devs
https://ift.tt/2y4fXgc
New post on /r/flutterdev subreddit:

Flutter BLoC: A better way to Handle navigation
https://ift.tt/2Y55ewj

July 21, 2019 at 03:35AM by PedroMassango
https://ift.tt/2YnVtNY
New post on /r/flutterdev subreddit:

Creating a Countdown Timer using Animation in Flutter
https://ift.tt/2Y7LA2Q

July 22, 2019 at 03:43PM by ashishrawat2911
https://ift.tt/2YhXXO2
New post on /r/flutterdev subreddit:

What do each of the colors in ColorScheme() do?
I'm using ColorScheme() to theme my app and set some colors. Here's my code for the theme:``` colorScheme: ColorScheme( primary: Colors.red, onPrimary: Colors.black, primaryVariant: Colors.orange,background: Colors.red, onBackground: Colors.black,secondary: Colors.red, onSecondary: Colors.white, secondaryVariant: Colors.deepOrange,error: Colors.black, onError: Colors.white,surface: Colors.white, onSurface: Colors.black,brightness: Brightness.light, ),// this is the only code in ThemeData.light().copyWith() ```Here's the relevant documentation: ColorScheme classSo what do these properties change the color of? Is there a list of which colors affect which widgets?By looking at the source of a FAB, I found out that colorScheme.secondary changes its background color, and that colorScheme.onSecondary should change the icon color, although it's not (what's up with that?). Here's what I found:// floating_action_button.dart final Color foregroundColor = this.foregroundColor // <-- colorScheme.onSecondary does NOT change FAB icon color ?? floatingActionButtonTheme.foregroundColor ?? theme.accentIconTheme.color ?? theme.colorScheme.onSecondary; final Color backgroundColor = this.backgroundColor // <-- colorScheme.secondary changes FAB background color ?? floatingActionButtonTheme.backgroundColor ?? theme.colorScheme.secondary; Edit: I also made an issue #36624

July 22, 2019 at 05:49PM by themindstorm
https://ift.tt/2StZmM5
New post on /r/flutterdev subreddit:

Tips for creating a really basic 2D game
Hi,I've been working with flutter for 9 months, approximately one year and a half ago. It was a fresh framework back then, and I've discovered the devs added lots of new features. I was wondering if it would be possible to create a really basic game, with these attributes:- The game should have a character-customization part (not a complex one, just a cartoon avatar with a half-torso and a head)- The game simply gives the players in the lobby some cards every x minutes: the players don't have to do anything besides chatting- Drawing cards animations would be great- There should be a graphically rich UI, take for example the Clash Royale menuIs this possible?Having read the subreddit rules i would like to specify that i'm not looking for specific support but for a discussion about the potential of this new tool in the gamedev field

July 22, 2019 at 07:24PM by -gaab-
https://ift.tt/2M7veVt