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

Cryptography in Flutter: Does steel_crypt have enough differentiation from pointycastle to justify existence?
Hi there! My name is Aditya Kishore, and I'm the author of steel_crypt. I came here today to discuss something that I've been mulling over for a while now.Some background: I created steel_crypt last year to fill a need. There was no cryptography package with all the features of pointycastle that had adequate documentation and ease of use. I set out to create such a package, leading to my greatest success. Over time, I have essentially maintained a fork of pointycastle within steel_crypt, adding new algorithms (such as AES-GCM and ChaCha20).Earlier this year, pointycastle was folded into the larger BouncyCastle project. The largest problem with pointycastle (lack of maintenance) was finally solved.One of my greatest fears is contributing to the "NPM problem", where duplicitous packages exist for no reason other than to prop up individual devs. I really want to make cryptography easier for the broader community; if contributing to a larger package is the best way to do that, then I would jump at the chance to do so.The problem: I can only invest my time into one cryptography project. If it was that easy, I would just ditch steel_crypt and throw my time into documenting and enhancing pointycastle. However, steel_crypt has a large contingent of active users (90 popularity rating). I fear that I would be leaving these users for dead were I to migrate all of my progress to pointycastle.The question: I've been struggling with this issue for some time. Seeing that I can't come up with a good solution, I would like to open up for broader thoughts. What do you guys think I should do?

May 18, 2020 at 09:07PM by AKushWarrior
https://ift.tt/3dSt4Uk
New post on /r/flutterdev subreddit:

Flutter app templates/libraries/scaffolding, like Laravel Spark (PHP) or SaaS Pegasus (Python)?
Spark ($99/PHP) and Pegasus (Python/$195) are 'app scaffolding' libraries/apps/frameworks for web apps based on those platforms, respectively, that provide out of the box functionality like:- authentication- payments- subscriptionsBasically, you buy one of those for your platform, and then just start coding your app -- your own business logic -- no reinventing the wheel for boring plumbing.Does such a thing exist for Flutter?Spark is built on top of Laravel -- Pegasus on top of Django -- both free and open source projects.I know there is a 'Scaffold' Flutter UI class, but that's pretty low-level -- I'm looking for higher/business-level functionality.What I want is everything that the base Flutter library does not yet provide.I'm basically not interested in paying someone to recreate the wheel.also, does Flutter need its own Laravel/Django before we can even build its Spark/Pegasus?also, i'd love to use Flutter, but i feel like it would cost me a fortune without an existing framework/template/library similar to Spark/Pegasus.i've never actually used Spark/Pegasus but i'm still a massive fan for some reason.Thanks.

May 18, 2020 at 11:12PM by atlwellwell
https://ift.tt/3g0Y3Q7
New post on /r/flutterdev subreddit:

Restricting system textScaleFactor for better looking Flutter UIs
https://ift.tt/2WGRqdZ

May 18, 2020 at 11:59PM by Purple_Pizzazz
https://ift.tt/2X7Q2Ai
New post on /r/flutterdev subreddit:

VSCode extension to convert Flutter project to use AndroidX
I just started checking out Flutter and half the code samples I downloaded from GitHub gave this [!] Your app isn't using AndroidX error when I tried to run them in VSCode. I had trouble with the Android Studio method of converting, but I found some instructions on how to hack the config files, so I implemented a VSCode extension to do that.https://marketplace.visualstudio.com/items?itemName=forrcaho.vscode-flutter-convert-to-androidxIt's an ugly hack, but it has converted several GitHub projects for me already, and shows every sign of working fine.I hope someone else will find it helpful as well.

May 19, 2020 at 03:36AM by forrcaho
https://ift.tt/3cI1edm
New post on /r/flutterdev subreddit:

Tip #43 Dart Range, Make loops great again.
Do you miss number ranges like these in dart?
for (i in 1..4) print(i) //Kotlin Range for (i until 1..4) print(i) //Kotlin Range 
No problem. Just define this Range Extension on numbers and you will be good to go.
extension Range on num { List<num> until(num endPoint) { var exclusive = to(endPoint); exclusive.removeLast(); return exclusive; } List<num> to(num endPoint) { var numbers = <num>[]; if (endPoint > this) { for (int i = this; i <= endPoint; i++) { numbers.add(i); } } else { for (int i = this; i >= endPoint; i--) { numbers.add(i); } } return numbers; } } 
Then Simply use them like this :
void main() { // 2,3,4,5,6,7,8,9,10 for (int i in 2.to(10)) { print(i); } // 2,3,4,5,6,7,8,9 for (int i in 2.until(10)) { print(i); } // 2,1,0,-1,-2,-3,-4,-5,-6,-7 for (int i in 2.to(-7)) { print(i); } // 2,1,0,-1,-2,-3,-4,-5,-6 for (int i in 2.until(-7)) { print(i); } } 
try in dartpadIf you want more advanced range and other cool extensions use dartxThis is my tip #43 on #100 days of flutter.Find all of them in this repoI publish daily tips on this twitter thread

May 19, 2020 at 04:45AM by erluxman
https://ift.tt/2zKovgd
New post on Flutter Dev Google group:

Show dialog box on every 20th application opening.
Hi, I have one application where I want to show dialog box on every 20th application launching/opening. 1.I need to check count when application opens and need to show dialog box on different page if user opens application 20th time . Please help me with this 2.I have close button in dialog box

May 19, 2020 at 07:41AM by Vick123
https://ift.tt/2LDPlJs
New post on /r/flutterdev subreddit:

https://ift.tt/3dZbU7H Checkout my dream German Learning Web Application written in Flutter! src is in description.
Description:This is a language learning app which provides a flowing curiosity driven style of learning. Everything is clickable and always brings up the context and new examples to make learning anything super easy.Source Code:https://gitlab.com/JeromeSaltmarsh/core-germanConcept videohttps://youtu.be/fy8sFQfrGdAWebsitehttps://germanbydoing.com/Let me know what you think!- The backend is powered by Firebase

May 19, 2020 at 08:18AM by Mystical_Hotdog
https://ift.tt/3dW6H0q
New post on Flutter Dev Google group:

CustomPainter automation detection via a Key
Can a CustomPainter be identified by a key so to locate the same in automation? I have a circularGraph donut created using flutter_chart lib. I want to identify each arch separately (say by adding locators) that constitutes that donut to do the automation of the same. The CustomPaint is getting

May 19, 2020 at 08:45AM by LearningDev
https://ift.tt/3dXTSTf
New post on Flutter Dev Google group:

show dialog box on every 20th application launching/opening
Hi, I have one application where I want to show dialog box on every 20th application launching/opening. 1.I need to check count when application opens and need to show dialog box on different page if user opens application 20th time . Please help me with this 2.I have close button in dialog box

May 19, 2020 at 08:59AM by Vick123
https://ift.tt/3bKqgaH
New post on Flutter Dev Google group:

what should we use instead of background service in ios? any plugin or built-in class which help me?
what should we use instead of background service in ios? any plugin or built-in class which help me?

May 19, 2020 at 09:09AM by john786
https://ift.tt/2yfiVC5
New post on Flutter Dev Google group:

Flutter - Executing build on android
I have a question when I run flutter run on my project I have the following error, how can I solve this: *Error:* FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'flutter_full_pdf_viewer'. > Failed to find target with hash string 'android-2

May 19, 2020 at 09:27AM by Dev Connect
https://ift.tt/3dZPAuQ
New post on /r/flutterdev subreddit:

Been away from flutter community for almost a year. What's new?
Specifically, whats the preferred state management these days? I extensively used redux for a while but is it still relevant? Are there better ways to do state-management now? what are other recent changes I should be aware of?thanks :)

May 19, 2020 at 10:16AM by khatradude
https://ift.tt/2LFuWUz
New post on /r/flutterdev subreddit:

Flutter - Executing build on android
I have a question when I run flutter run on my project I have the following error, how can I solve this:Error:
FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'flutter_full_pdf_viewer'. > Failed to find target with hash string 'android-28' in: /usr/local/share/android-sdk * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 5s Exception: The plugin flutter_full_pdf_viewer could not be built due to the issue above. 


May 19, 2020 at 10:14AM by rikidev20
https://ift.tt/3cIhbjW