New post on /r/flutterdev subreddit:
Super Enum v0.4.1 released.
We added support for collections and other generic data types. (eg: List<String>, Map<String, int>)Thanks to our new collaborator @passsy, we now have a brand new annotation #UseClass to reuse existing classes directly as a union type.For migrations and examples checkout => Super Enum
February 05, 2020 at 08:30PM by xsahil03x
https://ift.tt/2GZgYuo
Super Enum v0.4.1 released.
We added support for collections and other generic data types. (eg: List<String>, Map<String, int>)Thanks to our new collaborator @passsy, we now have a brand new annotation #UseClass to reuse existing classes directly as a union type.For migrations and examples checkout => Super Enum
February 05, 2020 at 08:30PM by xsahil03x
https://ift.tt/2GZgYuo
X (formerly Twitter)
Pascal Welsch (@passsy) on X
Flutter & Dart GDE 💙, CTO of @phntmxyz, Co-founder of @wiredashio Follow me for updates on Flutter and Dart 💙 #tdd https://t.co/KqfEXQBuly
New post on /r/flutterdev subreddit:
Any recommendations for handling User Generated Content?
I am developing a social reading platform in flutter - so you can read books and comment on them and see other people's comments as you read. It's pretty simple, but obviously there are some considerations to be made for the user-generated-content as it is meant to be a public platform. I was wondering if anyone has experience doing this with flutter, and complying with both Apple and Google's guidelines on the matter, in a relatively bare-bones way?Google says:(paraphrased)- have TOS and define what inappropriate content is- implement "robust, effective and ongoing UGC moderation", followed by "as is reasonable and consistent"- be able to report users, and block abusive users from the platform- prevent monetization from "encouraging objectionable behavior"​Apple Says:- a method of filtering objectionable material- a mechanism to report users and block abusive users from the platform- publish your contact info​My impression from reading this is that Google's guidelines are somewhat more strict than Apple's. But apple's first point seems to be something that Google doesn't require - if that means have a direct filter in the app itself to, say, detect if a user has entered a bad word from some pre-defined list?Also, what exactly does 'robust, effective, and ongoing moderation' mean? Is that something more / different than each user having the ability to report another user, and giving the top-level moderators access to a list of those reports + the ability to remove a user and his posts?My plan was to have new users' first 10 comments automatically submitted for moderation before they are publicly displayed. And after 10 comments, they can become (level-1) moderators themselves, their posts are submitted automatically (self-approved), and they can approve/disapprove of other new users' posts. And on top of that are users who have a more complete set of moderator actions, like viewing reports, deleting inappropriate usernames, and stuff like that.Any advice, feedback, experience, or thought on what to consider is appreciated!
February 05, 2020 at 08:21PM by definitely_robots
https://ift.tt/2ukR9C8
Any recommendations for handling User Generated Content?
I am developing a social reading platform in flutter - so you can read books and comment on them and see other people's comments as you read. It's pretty simple, but obviously there are some considerations to be made for the user-generated-content as it is meant to be a public platform. I was wondering if anyone has experience doing this with flutter, and complying with both Apple and Google's guidelines on the matter, in a relatively bare-bones way?Google says:(paraphrased)- have TOS and define what inappropriate content is- implement "robust, effective and ongoing UGC moderation", followed by "as is reasonable and consistent"- be able to report users, and block abusive users from the platform- prevent monetization from "encouraging objectionable behavior"​Apple Says:- a method of filtering objectionable material- a mechanism to report users and block abusive users from the platform- publish your contact info​My impression from reading this is that Google's guidelines are somewhat more strict than Apple's. But apple's first point seems to be something that Google doesn't require - if that means have a direct filter in the app itself to, say, detect if a user has entered a bad word from some pre-defined list?Also, what exactly does 'robust, effective, and ongoing moderation' mean? Is that something more / different than each user having the ability to report another user, and giving the top-level moderators access to a list of those reports + the ability to remove a user and his posts?My plan was to have new users' first 10 comments automatically submitted for moderation before they are publicly displayed. And after 10 comments, they can become (level-1) moderators themselves, their posts are submitted automatically (self-approved), and they can approve/disapprove of other new users' posts. And on top of that are users who have a more complete set of moderator actions, like viewing reports, deleting inappropriate usernames, and stuff like that.Any advice, feedback, experience, or thought on what to consider is appreciated!
February 05, 2020 at 08:21PM by definitely_robots
https://ift.tt/2ukR9C8
New post on /r/flutterdev subreddit:
App Store rejection based on trademark infringement
My app got rejected for containing pub.dev in the description/title."Tavern - A pub.dev client"I feel it's important so people know what it is. Does this really violate trademark rules? I read them and couldn't find any information verifying this. Is there a small change I can make to make this acceptable while keeping pub.dev in the name?Apple says:Guideline 4.1 - Design - CopycatsYour metadata appears to contain third party content. Specifically, your app name contains the trademark term pub.dev in an inappropriate manner. It would be appropriate to revise your app name to address this trademark issue.
February 06, 2020 at 02:07AM by _thinkdigital
https://ift.tt/2GZnH7u
App Store rejection based on trademark infringement
My app got rejected for containing pub.dev in the description/title."Tavern - A pub.dev client"I feel it's important so people know what it is. Does this really violate trademark rules? I read them and couldn't find any information verifying this. Is there a small change I can make to make this acceptable while keeping pub.dev in the name?Apple says:Guideline 4.1 - Design - CopycatsYour metadata appears to contain third party content. Specifically, your app name contains the trademark term pub.dev in an inappropriate manner. It would be appropriate to revise your app name to address this trademark issue.
February 06, 2020 at 02:07AM by _thinkdigital
https://ift.tt/2GZnH7u
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:
In provider, Selector's value is immutable and if I want notifi to rebuild, it must be return clone of origin value and Does it have a performance problem?
When I use selector new value must be clone of old value.
in Notifier:
But
so items always copy from origin item when I call notifiListener() and it take O(n) to copyDoes it have a performance problem?
February 06, 2020 at 03:51AM by tbm98hi
https://ift.tt/3b9HsY1
In provider, Selector's value is immutable and if I want notifi to rebuild, it must be return clone of origin value and Does it have a performance problem?
When I use selector new value must be clone of old value.
in Notifier:
List<bool> get items => List.from(item);=> rebuild normal.
But
List<bool> get items => item;=> not rebuild.
so items always copy from origin item when I call notifiListener() and it take O(n) to copyDoes it have a performance problem?
February 06, 2020 at 03:51AM by tbm98hi
https://ift.tt/3b9HsY1
reddit
In provider, Selector's value is immutable and if I want notifi to...
When I use selector new value must be clone of old value. in Notifier: List get items => List.from(item); => rebuild normal. ...
New post on Flutter Dev Google group:
[Breaking Change Proposal] CustomPaint can't set raster cache hints with null painters
If your app does not use CustomPaint, you can stop reading now. *Summary* In the proposal (https://ift.tt/31vnTET), if one builds a CustomPaint widget with null painter and null foregroundPainter, then the assertion would trigger if isComplex or willChange is set to true.
February 06, 2020 at 11:00AM by Yuqian Li
https://ift.tt/373td3q
[Breaking Change Proposal] CustomPaint can't set raster cache hints with null painters
If your app does not use CustomPaint, you can stop reading now. *Summary* In the proposal (https://ift.tt/31vnTET), if one builds a CustomPaint widget with null painter and null foregroundPainter, then the assertion would trigger if isComplex or willChange is set to true.
February 06, 2020 at 11:00AM by Yuqian Li
https://ift.tt/373td3q
GitHub
Assert cache hints are not set for null painters by liyuqian · Pull Request #49771 · flutter/flutter
This fixes #49700
Tests added: Raster cache hints cannot be set with null painters
Tests added: Raster cache hints cannot be set with null painters
New post on /r/flutterdev subreddit:
What is Flutter Web more akin to, Svelte or React/Vue?
Hello community, I am about to start a small project but I'm still looking for information about what framework to use. Does Flutter Web has a virtual DOM like React or Vue, or is its approach more like Svelte's "disappearing framework"?
February 06, 2020 at 11:01AM by rraallvv
https://ift.tt/2Sq0twv
What is Flutter Web more akin to, Svelte or React/Vue?
Hello community, I am about to start a small project but I'm still looking for information about what framework to use. Does Flutter Web has a virtual DOM like React or Vue, or is its approach more like Svelte's "disappearing framework"?
February 06, 2020 at 11:01AM by rraallvv
https://ift.tt/2Sq0twv
reddit
What is Flutter Web more akin to, Svelte or React/Vue?
Hello community, I am about to start a small project but I'm still looking for information about what framework to use. Does Flutter Web has a...
New post on Flutter Dev Google group:
About Printing of Values
Hey there, How to print values of a loop/list using Text Widget in flutter?
February 06, 2020 at 12:28PM by Muhammad Ali
https://ift.tt/2H0fZtP
About Printing of Values
Hey there, How to print values of a loop/list using Text Widget in flutter?
February 06, 2020 at 12:28PM by Muhammad Ali
https://ift.tt/2H0fZtP
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:
Edit And Delete Firestore Documents
https://youtu.be/265SN1inUyg
February 06, 2020 at 03:18PM by projectmind_guru
https://ift.tt/3bgcXzE
Edit And Delete Firestore Documents
https://youtu.be/265SN1inUyg
February 06, 2020 at 03:18PM by projectmind_guru
https://ift.tt/3bgcXzE
YouTube
(Ep 40) Edit And Delete Firestore Data in Flutter
After refactoring the code to create a reusable Money Text Field widget, you’ll see how to edit and delete existing trips in our travel budget app.
Code Refactoring: 2:07
Firestore Update: 9:56
Firestore Delete: 20:15
Complete Code on GitHub: https://g…
Code Refactoring: 2:07
Firestore Update: 9:56
Firestore Delete: 20:15
Complete Code on GitHub: https://g…
New post on /r/flutterdev subreddit:
Flutter Local Authentication using Biometrics – Face ID and Touch ID / Fingerprint
https://ift.tt/2S2HoS5
February 06, 2020 at 03:01PM by Gigatronbot
https://ift.tt/39fGbwu
Flutter Local Authentication using Biometrics – Face ID and Touch ID / Fingerprint
https://ift.tt/2S2HoS5
February 06, 2020 at 03:01PM by Gigatronbot
https://ift.tt/39fGbwu
Codemagic blog
Flutter Local Authentication using Biometrics – Face ID and Touch ID / Fingerprint - Codemagic blog
How to add this additional layer of security over the traditional sign-in methods on Flutter app.
New post on /r/flutterdev subreddit:
Basic Form Validation - Flutter Explained - Level: Beginner
https://youtu.be/a2rddpqf3H4
February 06, 2020 at 04:18PM by MyracleDesign
https://ift.tt/2H2e0p2
Basic Form Validation - Flutter Explained - Level: Beginner
https://youtu.be/a2rddpqf3H4
February 06, 2020 at 04:18PM by MyracleDesign
https://ift.tt/2H2e0p2
YouTube
Basic Form Validation - Flutter Explained - Level: Beginner
In today's episode of #FlutterExplained we will explore the Form Widget. The Form Widget keeps track of the containing TextFormField Widget and its validation state. With that, we have the possibility to validate User inputs and allow certain actions only…
New post on Flutter Dev Google group:
Getting the size of Children for a custom Wrap Layout
I want to build a Wrap Layout, where children are (after placing them in their respective rows) are flexible, so they fill the total width available, as if they where Flexible. I understand that there would be a performance penalty when rendering the children twice, but I would like to do it in
February 06, 2020 at 06:01PM by Roland Fredenhagen
https://ift.tt/39ifd7L
Getting the size of Children for a custom Wrap Layout
I want to build a Wrap Layout, where children are (after placing them in their respective rows) are flexible, so they fill the total width available, as if they where Flexible. I understand that there would be a performance penalty when rendering the children twice, but I would like to do it in
February 06, 2020 at 06:01PM by Roland Fredenhagen
https://ift.tt/39ifd7L
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:
MultiBlocProvider
Hello,I'm trying to use the new MultiBlocProvider (instead of old nesting BlocProvider) from package bloc​I had success with the old method but I can't adapt to the newWhen I click on the button I want to open a form
February 06, 2020 at 06:26PM by IpreferWater
https://ift.tt/2UGGxIT
MultiBlocProvider
Hello,I'm trying to use the new MultiBlocProvider (instead of old nesting BlocProvider) from package bloc​I had success with the old method but I can't adapt to the newWhen I click on the button I want to open a form
CategoryFormDialog()
, this form must have access to the bloc so I put him in the child of the MultiBlocProvider
But all I have is the famous error "BlocProvider.of() called with a context that does not contain a Bloc of Type CategoryBloc.No ancestor could be found starting from the context​If you have an idea it would be cool !class _MyHomePageState extends State<MyHomePage> {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: MultiBlocProvider(
providers: [
BlocProvider<CategoryBloc>(
create: (BuildContext context) => CategoryBloc()),
],
child: ListView(
children: <Widget>[
FloatingActionButton(
onPressed: () {
showDialog(
context: context,
builder: (BuildContext context) => CategoryFormDialog(),
);
},
child: Icon(Icons.add),
)
],
),
));
}
}
February 06, 2020 at 06:26PM by IpreferWater
https://ift.tt/2UGGxIT
GitHub
IPreferWater/flutter-ccs
flutter project for ccs company. Contribute to IPreferWater/flutter-ccs development by creating an account on GitHub.
New post on /r/flutterdev subreddit:
Working with Callback in the flutter
https://ift.tt/3bmL60T
February 06, 2020 at 07:22PM by shivanchalpandey
https://ift.tt/370t9lj
Working with Callback in the flutter
https://ift.tt/3bmL60T
February 06, 2020 at 07:22PM by shivanchalpandey
https://ift.tt/370t9lj
Medium
Working with Callback In Flutter
Hello Folks! We all are working in flutter and most of the time we all need to work with Callback and VoidCallback because we need to send…
New post on /r/flutterdev subreddit:
Flutter build process (preventing conflicts within dependencies, etc)
Does anyone know of an overview of the flutter build process? How it works, what runs first, in what order dependencies are compiled, how conflicts are resolved? Understandably, there are a ton of moving parts given what flutter offers. Especially if you start using plugins. Some of those plugins might call other native specific plugins, and so on. Each of these modules can have different build "requirements".List of moving parts as far as I can tell:build tools/processes used:pub (dart)gradle (android)cocoapods (apple)​uses Android X (yes/no)flutter SDK version range​gradle versioncompileSdkVersionminSdkVersiontargetSdkVersion​swift_versionios.deployment_targetplatform(honestly not sure what these 3 are but i've seen them in different places)So, as far as I can tell, (1) your flutter app, and (2) each it's dart/pub packages, and (3) all of their gradle/cocoapods dependencies could have their own and potentially conflicting settings.How much do we have to worry about this?There's no way that you can easily catalog each and look for conflicts.Which one takes priority? What happens when there are conflicts? For instance, what if my app's minSdkVersion is 19, but a dart/flutter plugin calls an android dependency that requires version 21? Would my app still compile (what about install and run)? What happens when it runs on a device running 19 that tries to use functionality provided by that plugin (not available until 21)?All is great now that I have my app running on my samsung s9 and iphone X for testing, but how in the world can I be sure there aren't some problems that would happen on other devices in the wild (with different OS versions, etc). I know I could theoretically create emulators for each OS for android/ios, but still i dont if that's enough to truly test for this.I think I could rest better understanding the role that each of these technologies play and how to be safe to ensure there are no conflicts.Thanks!
February 06, 2020 at 07:59PM by pickleback11
https://ift.tt/31tXibu
Flutter build process (preventing conflicts within dependencies, etc)
Does anyone know of an overview of the flutter build process? How it works, what runs first, in what order dependencies are compiled, how conflicts are resolved? Understandably, there are a ton of moving parts given what flutter offers. Especially if you start using plugins. Some of those plugins might call other native specific plugins, and so on. Each of these modules can have different build "requirements".List of moving parts as far as I can tell:build tools/processes used:pub (dart)gradle (android)cocoapods (apple)​uses Android X (yes/no)flutter SDK version range​gradle versioncompileSdkVersionminSdkVersiontargetSdkVersion​swift_versionios.deployment_targetplatform(honestly not sure what these 3 are but i've seen them in different places)So, as far as I can tell, (1) your flutter app, and (2) each it's dart/pub packages, and (3) all of their gradle/cocoapods dependencies could have their own and potentially conflicting settings.How much do we have to worry about this?There's no way that you can easily catalog each and look for conflicts.Which one takes priority? What happens when there are conflicts? For instance, what if my app's minSdkVersion is 19, but a dart/flutter plugin calls an android dependency that requires version 21? Would my app still compile (what about install and run)? What happens when it runs on a device running 19 that tries to use functionality provided by that plugin (not available until 21)?All is great now that I have my app running on my samsung s9 and iphone X for testing, but how in the world can I be sure there aren't some problems that would happen on other devices in the wild (with different OS versions, etc). I know I could theoretically create emulators for each OS for android/ios, but still i dont if that's enough to truly test for this.I think I could rest better understanding the role that each of these technologies play and how to be safe to ensure there are no conflicts.Thanks!
February 06, 2020 at 07:59PM by pickleback11
https://ift.tt/31tXibu
reddit
Flutter build process (preventing conflicts within dependencies, etc)
Does anyone know of an overview of the flutter build process? How it works, what runs first, in what order dependencies are compiled, how...
New post on /r/flutterdev subreddit:
TechLead: "Why React Native is garbage"
https://youtu.be/NxJCSI7a8wk
February 06, 2020 at 08:41PM by aytunch
https://ift.tt/2OAdNxv
TechLead: "Why React Native is garbage"
https://youtu.be/NxJCSI7a8wk
February 06, 2020 at 08:41PM by aytunch
https://ift.tt/2OAdNxv
YouTube
Why React Native is garbage.
Ex-Google/ex-Facebook TechLead presents the case against the React Native cross-platform mobile app framework. Join my interview training prep here http://techinterviewpro.com/
Here are the blog posts I referenced:
Shopify: https://engineering.shopify…
Here are the blog posts I referenced:
Shopify: https://engineering.shopify…
New post on Flutter Dev Google group:
Seeking pointers or examples of Flutter app, with firestore and back-end data analytics
Hi, I'm building an app to collect data on mobile phones and perform some analytics at the backend, then present the visualization of the outcome from the analytics on the mobile phone. The database that I'm considering is Firestore. I'd like to learn the best practice and the extent of
February 06, 2020 at 09:13PM by Yu Shen
https://ift.tt/38hb7wg
Seeking pointers or examples of Flutter app, with firestore and back-end data analytics
Hi, I'm building an app to collect data on mobile phones and perform some analytics at the backend, then present the visualization of the outcome from the analytics on the mobile phone. The database that I'm considering is Firestore. I'd like to learn the best practice and the extent of
February 06, 2020 at 09:13PM by Yu Shen
https://ift.tt/38hb7wg
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:
opening app on Mac shows blank page
I have an app that opens html page. On iOS if app is closed and html is opened with it, the first time blank page is loaded. On all following times html content loads fine. This behavior is not observed on Android. Important parts of the code are here https://ift.tt/2GZ10QU
February 07, 2020 at 02:35AM by Alex Kravets
https://ift.tt/2UucovY
opening app on Mac shows blank page
I have an app that opens html page. On iOS if app is closed and html is opened with it, the first time blank page is loaded. On all following times html content loads fine. This behavior is not observed on Android. Important parts of the code are here https://ift.tt/2GZ10QU
February 07, 2020 at 02:35AM by Alex Kravets
https://ift.tt/2UucovY
New post on /r/flutterdev subreddit:
VSCode shortcut/extension for autocompleting parameters?
Sometimes when I watch flutter tutorials the youtuber presses a shortcut and an small popup with all the parameter options comes up, they are able to scroll to the option they want and click on it.This is similar to the "parameter hints" shortcut but not the same.As a follow-up, sometimes a parameter takes an implementation of an abstract class. Whats a quick way to search up all implementations of that abstract class in the flutter sdk.For example, im using the charts_flutter package, and want to specify a TickProviderSpec, but instead of the base tickproviderspec im supposed to specify a class which implements it. I want to know all the implementations of that class, since sometimes the implementation doesn't have the base class as part of its name autocomplete doesnt help.
February 07, 2020 at 03:04AM by Shazamo333
https://ift.tt/39ebXdl
VSCode shortcut/extension for autocompleting parameters?
Sometimes when I watch flutter tutorials the youtuber presses a shortcut and an small popup with all the parameter options comes up, they are able to scroll to the option they want and click on it.This is similar to the "parameter hints" shortcut but not the same.As a follow-up, sometimes a parameter takes an implementation of an abstract class. Whats a quick way to search up all implementations of that abstract class in the flutter sdk.For example, im using the charts_flutter package, and want to specify a TickProviderSpec, but instead of the base tickproviderspec im supposed to specify a class which implements it. I want to know all the implementations of that class, since sometimes the implementation doesn't have the base class as part of its name autocomplete doesnt help.
February 07, 2020 at 03:04AM by Shazamo333
https://ift.tt/39ebXdl
reddit
VSCode shortcut/extension for autocompleting parameters?
- Sometimes when I watch flutter tutorials the youtuber presses a shortcut and an small popup with all the parameter options comes up, they are...
New post on Flutter Dev Google group:
CONSUMMING APIs From RapidApi web services
Hello Everyone I will Like to Know If Making Api request from Rapidapi.com can be done in flutter as they do not provide any documentation on the Dart Language.. any help will do thanks
February 07, 2020 at 04:32AM by top appz
https://ift.tt/3744axl
CONSUMMING APIs From RapidApi web services
Hello Everyone I will Like to Know If Making Api request from Rapidapi.com can be done in flutter as they do not provide any documentation on the Dart Language.. any help will do thanks
February 07, 2020 at 04:32AM by top appz
https://ift.tt/3744axl
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:
dartpad
we are creating a flutter tutorial website is there any way to integrate dartpad into my website
February 07, 2020 at 06:53AM by programmer
https://ift.tt/2up0RDy
dartpad
we are creating a flutter tutorial website is there any way to integrate dartpad into my website
February 07, 2020 at 06:53AM by programmer
https://ift.tt/2up0RDy
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:
Flutter BLoC for State Management using dio with retrofit
https://ift.tt/31wuD5H
February 07, 2020 at 07:07AM by shivanchalpandey
https://ift.tt/2vdNCFO
Flutter BLoC for State Management using dio with retrofit
https://ift.tt/31wuD5H
February 07, 2020 at 07:07AM by shivanchalpandey
https://ift.tt/2vdNCFO
Medium
State Management using Flutter BLoC using Dio and Retrofit
Hello folks!, If you are a Flutter Developer you could have better or bitter experience while developing apps that require you to manage…