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

How often do you upgrade your packages?
How often do you run either flutter pub upgrade or flutter pub outdated?I'm trying to work out a nice happy medium between going too long without upgrading, but also without spending all my time upgrading things if I don't have a consistent amount of time to work on my app.

June 12, 2020 at 12:52PM by 946789987649
https://ift.tt/3hoIfXZ
New post on /r/flutterdev subreddit:

How to update information like user basic derails from Flutter App to particular plattform?
Hi, I have a dubte, it will enought to have an API from an particular private platform (Like firebase back-end) to be able from flutter App to store on this platform an data of user??

June 12, 2020 at 12:43PM by maliDevFlutter
https://ift.tt/3fgZ0m5
New post on /r/flutterdev subreddit:

Dart Null Safety - Widget Studio - Flutter Bottom Modal Sheet - FlutterPen - Flutter News
https://youtu.be/xhGrbzp-DfY

June 12, 2020 at 03:02PM by MyracleDesign
https://ift.tt/2MXncxD
New post on Flutter Dev Google group:

Formatting a phone number taken from phone address book
Phone numbers in address book sometime is weird. Here is a simple snippet to convert them to a real phone number which is acceptable by provider to send SMS, e.t.c. https://ift.tt/37phSN3

June 12, 2020 at 05:02PM by Igor Karelin
https://ift.tt/3fjm9o1
New post on Flutter Dev Google group:

Flutter maintenance
if this framework is not maintained after few years, what is the situation ?

June 12, 2020 at 05:57PM by Murali Krishna
https://ift.tt/37ncFFH
New post on /r/flutterdev subreddit:

Should I use Firebase? Concerned about my app.
I am building an app that would directly compete with a google product and the data that we are gathering could be integrated into their product. I read the terms and under section 6. Information Rights and Publicity, it says "Google and its wholly owned subsidiaries may retain and use, subject to the terms of its privacy policy (located at https://www.google.com/policies/privacy/), information collected in Your use of the Service. Google will not share Your Customer Data or any Third Party's Customer Data with any third parties unless Google (i) has Your consent for any Customer Data or any Third Party's consent for the Third Party's Customer Data; (ii) concludes that it is required by law or has a good faith belief that access, preservation or disclosure of Customer Data is reasonably necessary to protect the rights, property or safety of Google, its users or the public; or (iii) provides Customer Data in certain limited circumstances to third parties to carry out tasks on Google's behalf (e.g., billing or data storage) with strict restrictions that prevent the data from being used or shared except as directed by Google. When this is done, it is subject to agreements that oblige those parties to process Customer Data only on Google's instructions and in compliance with this Agreement and appropriate confidentiality and security measures." Obviously the app isnt going to be threatened at launch but it grew to a large valuable dataset, would this be a potential problem? Any good alternatives to firebase?

June 12, 2020 at 05:51PM by AnkleLockConnoisseur
https://ift.tt/30CraEg
New post on Flutter Dev Google group:

Re: Strange question: How long will this framework is maintained or planned?
We plan to maintain Flutter for the foreseeable future. On Fri, Jun 12, 2020, 8:49 AM Murali Krishna
New post on Flutter Dev Google group:

Skipped 1250 frames
My app is skipping frames and app is getting crashed when i run the app. I am trying to implement tesseract_ocr in the app any help is appreciated.

June 12, 2020 at 06:20PM by VASHISHT DEVASANI
https://ift.tt/2BTEo4W
New post on /r/flutterdev subreddit:

Momentum: Another state management library. What do you think about it?
/r/dartlang/comments/h12tim/momentum_a_super_powerful_flutter_state/

June 12, 2020 at 07:13PM by 2reform
https://ift.tt/3hklaWt
New post on /r/flutterdev subreddit:

Momentum: a new powerful Flutter state management library, with clean architecture and features like persistence, time travel, and dependency injection
https://ift.tt/2XX22pQ

June 12, 2020 at 06:52PM by LudwikTR
https://ift.tt/37qNH8j
New tweet from FlutterDev:

If you’re coding on a Mac and want to try building MacOS apps, switch to Flutter’s master or dev channel and…

1️⃣Enable MacOS support with ‘flutter-config --enable-macos-desktop’
2️⃣Run your app with 'flutter run -d macOS'

🛠Try it out → https://t.co/rfWv7AMwwV#FlutterFriday pic.twitter.com/GK0bhhGSOD— Flutter (@FlutterDev) June 12, 2020

June 12, 2020 at 08:27PM
http://twitter.com/FlutterDev/status/1271509449560084480
New post on /r/flutterdev subreddit:

Momentum: A super powerful flutter state management library inspired with MVC pattern with very flexible dependency injection.
/r/dartlang/comments/h12tim/momentum_a_super_powerful_flutter_state/

June 12, 2020 at 12:53AM by xamantra
https://ift.tt/2XUgP4w
New tweet from FlutterDev:

All AboutDialog 💬

Before you ship your Flutter app, learn how you can easily add formalities such as the legalese, version number, licenses, and other small print with a simple widget.

More #WidgetoftheWeek → https://t.co/uuofoT3ciZ pic.twitter.com/ZBk2nWuiSf— Flutter (@FlutterDev) June 12, 2020

June 12, 2020 at 10:10PM
http://twitter.com/FlutterDev/status/1271535349664108544
New post on /r/flutterdev subreddit:

Form validation in Flutter
Validating user input before submission is a good thing to do if you want to improve UX and security. Because everyone can make mistake, your users too. You wouldn't like if user mistakenly typen his email johndoecorp.com and you need to contact him. You need to guess if correct email address is john@doecorp.com or johndoe@corp.com (I actually faced with this sort of issue with phone number field). So It's nice to have form fields validated before submission.Doing validation on client side also has another pro. It improves user experience. User don't have to wait 1-2 seconds to receive error message from the server.You need to verify fields on the server side too! Otherwise your app might be spammed with fake data. Why?I made a dart / flutter package to create different validation logics for example: string length validators, email, phone number, url, ip, and many more coming. Here's a simple code that validates if input is a valid email address and length is less than or equal to 50 characters.
import 'package:flutter/material.dart'; import 'package:form_validator/form_validator.dart'; final form = GlobalKey<FormState>(); Form( key: form, child: Column( children: <Widget>[ TextFormField( validator: ValidationBuilder().email().maxLength(50).build(), decoration: InputDecoration(labelText: 'Email'), ), Button( onPressed: () => form.currentState.validate(), child: Text('Submit'), ), ], ), ), 
It also supports multiple languages, localization. You can simply set locale by writing a line of code:
ValidationBuilder.setLocale('en'); 
Package: https://pub.dev/packages/form_validator
Repository: https://github.com/TheMisir/form-validatorI need help for adding more languages to this package. You can simply duplicate lib/src/i18n/en.dart file and translate messages to your language.Language files looks like that:
import '../form_validator_locale.dart'; class LocaleEn extends FormValidatorLocale { @override String name() => 'en'; @override String minLength(String v, int n) => 'The field must be at least $n characters long'; ... } 
Thanks for reading 😊

June 12, 2020 at 10:24PM by zMisir
https://ift.tt/30OdwxZ
New post on Flutter Dev Google group:

FLutter CallKeep
Hi everyone. Has anyone used https://ift.tt/2UCjCgK to get the incoming calls number? I'm having a hard time using this package.

June 13, 2020 at 12:06AM by wael Abdulaziz
https://ift.tt/2BTvODh