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
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
Twitter
#widgetoftheweek hashtag on Twitter
15h ago @FlutterDev tweeted: "βοΈ Writing your own button controls from.." - read what others are saying and join the conversation.
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.
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:
June 12, 2020 at 10:24PM by zMisir
https://ift.tt/30OdwxZ
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
Information Security Stack Exchange
Is it ever safe to skip server-side validations?
I am working on a web app with a sign up form like below. The validations are all done client side using http://formvalidator.net/.
I am well aware that client-side validations can be bypassed, bu...
I am well aware that client-side validations can be bypassed, bu...
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
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
Dart packages
flutter_callkeep | Flutter Package
iOS CallKit and Android ConnectionService bindings for Flutter
New post on /r/flutterdev subreddit:
Flutter: Dart Immutable Objects JSON Serialization and Deserialization
https://ift.tt/3cWdFlf
June 12, 2020 at 11:59PM by Elixane
https://ift.tt/2Yqi1vE
Flutter: Dart Immutable Objects JSON Serialization and Deserialization
https://ift.tt/3cWdFlf
June 12, 2020 at 11:59PM by Elixane
https://ift.tt/2Yqi1vE
Medium
Flutter: Dart Immutable Objects JSON Serialization and Deserialization
How to use json_serializable integration with freezed package and how to use kt_dart immutable collections in this context
New post on /r/flutterdev subreddit:
Can you save/load a screens widget tree to/from JSON
I have this idea for a kinda note taking web app, specifically for D&D DMs. But there are a lot of different techniques and ways to store information. So had the thought that it would be cool to create a note taking app, kinda like oneNote, but users can create templates for the pages. But not sure how I would save the templates that the users create so that it saves the widget tree and can build the screen from that template.Is it possible to export a widget tree as a json file and have all the fields saved that way. Or is there another approach to where I could create a page creator for the users (kinda like wordpress or wix) and then they can save that page as a template and use it.
June 13, 2020 at 12:51AM by D-Ring86
https://ift.tt/3hqNBlx
Can you save/load a screens widget tree to/from JSON
I have this idea for a kinda note taking web app, specifically for D&D DMs. But there are a lot of different techniques and ways to store information. So had the thought that it would be cool to create a note taking app, kinda like oneNote, but users can create templates for the pages. But not sure how I would save the templates that the users create so that it saves the widget tree and can build the screen from that template.Is it possible to export a widget tree as a json file and have all the fields saved that way. Or is there another approach to where I could create a page creator for the users (kinda like wordpress or wix) and then they can save that page as a template and use it.
June 13, 2020 at 12:51AM by D-Ring86
https://ift.tt/3hqNBlx
reddit
Can you save/load a screens widget tree to/from JSON
A subreddit for Google's portable UI framework.
New post on /r/flutterdev subreddit:
Sneak Peak at Dart Null Safety
https://youtu.be/Q3QWF-U30zk
June 13, 2020 at 02:29AM by thehappyharis
https://ift.tt/3fl0T1m
Sneak Peak at Dart Null Safety
https://youtu.be/Q3QWF-U30zk
June 13, 2020 at 02:29AM by thehappyharis
https://ift.tt/3fl0T1m
YouTube
Sneak Peak at Dart Null Safety
?, ! and late keyword. Yikes. π Pre Sign Up to Create Flutter Portfolio with Flutter Web: https://relentless-painter-1519.ck.page/fwp β° Timeline: 00:00 - Int...
New post on /r/flutterdev subreddit:
Flutter Tutorial | Google Sign-in using Firebase-Auth | Firebase Tutorial Series | EP-02
https://www.youtube.com/watch?v=e-2eQGGJSIY
June 12, 2020 at 04:21PM by saheb1313
https://ift.tt/2B1ecVG
Flutter Tutorial | Google Sign-in using Firebase-Auth | Firebase Tutorial Series | EP-02
https://www.youtube.com/watch?v=e-2eQGGJSIY
June 12, 2020 at 04:21PM by saheb1313
https://ift.tt/2B1ecVG
New post on /r/flutterdev subreddit:
PSD TO FLUTER APP PART: 2/5
https://www.youtube.com/watch?v=PYpunfSVu1A&feature=share
June 13, 2020 at 03:35AM by ProgramToday12
https://ift.tt/3hi3cE9
PSD TO FLUTER APP PART: 2/5
https://www.youtube.com/watch?v=PYpunfSVu1A&feature=share
June 13, 2020 at 03:35AM by ProgramToday12
https://ift.tt/3hi3cE9
YouTube
PSD TO FLUTER APP PART: 2/5
Hello, friends in this video we are going to learn how to Convert a PSD File to A Flutter App STEP BY STEP...
Resources :
PSD file: https://drive.google.com/file/d/1bVoEHw_3ctWJAEqFFiMN2Yid_Bbtgu_Z/view?usp=sharing
SOURCE CODE: https://github.com/Isaaβ¦
Resources :
PSD file: https://drive.google.com/file/d/1bVoEHw_3ctWJAEqFFiMN2Yid_Bbtgu_Z/view?usp=sharing
SOURCE CODE: https://github.com/Isaaβ¦
New post on /r/flutterdev subreddit:
Recommended platform to get a flutter dev to finish a project
I have an app that due to time constraints I haven't been able to finish myself and I'm looking to get a flutter dev to pick up where I left off and finish my app. I'm looking for a platform that allows me to post my needs and get quotes from flutter devs. What platform do you recommend? I hope I'm not braking rule 6, since I'm only asking for a platform. Thank you!
June 13, 2020 at 03:32AM by ChuckQuantum
https://ift.tt/3dZMEOX
Recommended platform to get a flutter dev to finish a project
I have an app that due to time constraints I haven't been able to finish myself and I'm looking to get a flutter dev to pick up where I left off and finish my app. I'm looking for a platform that allows me to post my needs and get quotes from flutter devs. What platform do you recommend? I hope I'm not braking rule 6, since I'm only asking for a platform. Thank you!
June 13, 2020 at 03:32AM by ChuckQuantum
https://ift.tt/3dZMEOX
reddit
Recommended platform to get a flutter dev to finish a project
A subreddit for Google's portable UI framework.
New post on Flutter Dev Google group:
press phone return button, close both keyboard and page together
when press return button on phone, only keyboard closes, while i have to press return button again to let the whole page close. so when press return button, how to close both keyboard and page the same time?
June 13, 2020 at 05:49AM by che.ca...@gmail.com
https://ift.tt/30DQzx6
press phone return button, close both keyboard and page together
when press return button on phone, only keyboard closes, while i have to press return button again to let the whole page close. so when press return button, how to close both keyboard and page the same time?
June 13, 2020 at 05:49AM by che.ca...@gmail.com
https://ift.tt/30DQzx6
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:
Flutter WillPopScope
Hello, In my tabs on 3rd tabs I want to use WillPopScrop and I did this : class _ProfileState extends State
Flutter WillPopScope
Hello, In my tabs on 3rd tabs I want to use WillPopScrop and I did this : class _ProfileState extends State
New post on /r/flutterdev subreddit:
A Flutter + SQLite Tutorial !
If you've ever wanted to use SQLite database in Flutter, here's a simple tutorial about it:https://ayusch.com/using-sqlite-in-flutter-tutorial/Happy to answer any questions in the comments section :)
June 13, 2020 at 07:29AM by ayusch
https://ift.tt/3d23Y4x
A Flutter + SQLite Tutorial !
If you've ever wanted to use SQLite database in Flutter, here's a simple tutorial about it:https://ayusch.com/using-sqlite-in-flutter-tutorial/Happy to answer any questions in the comments section :)
June 13, 2020 at 07:29AM by ayusch
https://ift.tt/3d23Y4x
AndroidVille
Using SQLite in Flutter - Tutorial
In this tutorial, weβll take a look at using sqlite in flutter. SQLite is a SQL engine used in mobile devices and some computers. We can use it to persist data for our app. Persistent
New post on Flutter Dev Google group:
Error in flutter build appbundle command after upgrading android studio to version 4.0.0
$flutter build appbundle Exception in thread "main" java.lang.RuntimeException: Base: GRADLE_USER_HOMEGRADLE is unknown at org.gradle.wrapper.PathAssembler.getBaseDir(PathAssembler.java:97) at org.gradle.wrapper.PathAssembler.getDistribution(PathAssembler.java:44) at
June 13, 2020 at 07:40AM by Pradeep Kumar Reddy Kondreddy
https://ift.tt/3cVETsg
Error in flutter build appbundle command after upgrading android studio to version 4.0.0
$flutter build appbundle Exception in thread "main" java.lang.RuntimeException: Base: GRADLE_USER_HOMEGRADLE is unknown at org.gradle.wrapper.PathAssembler.getBaseDir(PathAssembler.java:97) at org.gradle.wrapper.PathAssembler.getDistribution(PathAssembler.java:44) at
June 13, 2020 at 07:40AM by Pradeep Kumar Reddy Kondreddy
https://ift.tt/3cVETsg
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:
Provider with StateNotifier - Easy State Management for Flutter
https://m.youtube.com/watch?feature=youtu.be&v=4J7rF3KirxM
June 13, 2020 at 10:13AM by Elixane
https://ift.tt/2YuDe7H
Provider with StateNotifier - Easy State Management for Flutter
https://m.youtube.com/watch?feature=youtu.be&v=4J7rF3KirxM
June 13, 2020 at 10:13AM by Elixane
https://ift.tt/2YuDe7H
YouTube
Provider with StateNotifier - Easy State Management for Flutter
You're probably familiar with ValueNotifier and ChangeNotifier. But have you ever heard of StateNotifier? In this tutorial we go over a simple example showing how you can use StateNotifier in your Flutter applications to easily manage state.
Written Tutorial:β¦
Written Tutorial:β¦
New post on /r/flutterdev subreddit:
Duration Picker
https://youtu.be/jxOuU2iVe08
June 13, 2020 at 10:03AM by TheTechDesigner
https://ift.tt/2Aw5f6U
Duration Picker
https://youtu.be/jxOuU2iVe08
June 13, 2020 at 10:03AM by TheTechDesigner
https://ift.tt/2Aw5f6U
YouTube
Flutter Widget | 57 | How to Use DurationPicker | showDurationPicker | Speed Code
#TheTechDesigner
#Flutter #FlutterUI #SpeedCode #FlutterTutorial #FlutterAnimation #FlutterWidgets
β β β β β β β β β ββ β β β β β β β β β
Topics Covered :-
β β β β β β β β β ββ β β β β β β β β β
βΊ Simple Way to Implementβ¦
#Flutter #FlutterUI #SpeedCode #FlutterTutorial #FlutterAnimation #FlutterWidgets
β β β β β β β β β ββ β β β β β β β β β
Topics Covered :-
β β β β β β β β β ββ β β β β β β β β β
βΊ Simple Way to Implementβ¦
New post on Flutter Dev Google group:
Fire function after render
Hi I have a custom Widget that I'm building and I'm look for a way to fire a function after my Widget get rendered . "NOT BEFORE NOT DURING " because I wanna use some globalKeys that I had saved during the rendering time
June 13, 2020 at 10:26AM by ΨΉΩΩ Ω ΩΨ³Ω
https://ift.tt/2AwfdFo
Fire function after render
Hi I have a custom Widget that I'm building and I'm look for a way to fire a function after my Widget get rendered . "NOT BEFORE NOT DURING " because I wanna use some globalKeys that I had saved during the rendering time
June 13, 2020 at 10:26AM by ΨΉΩΩ Ω ΩΨ³Ω
https://ift.tt/2AwfdFo
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:
I just finished a flutter course (taught by Angela). It was beginner - intermediate. What course should I take next to advance my learning?
your text post requires a body
June 13, 2020 at 11:42AM by jemsmakaks
https://ift.tt/2XW2YL6
I just finished a flutter course (taught by Angela). It was beginner - intermediate. What course should I take next to advance my learning?
your text post requires a body
June 13, 2020 at 11:42AM by jemsmakaks
https://ift.tt/2XW2YL6
reddit
I just finished a flutter course (taught by Angela). It was...
*your text post requires a body*
New post on /r/flutterdev subreddit:
flutter_libphonenumber - The most complete libphonenumber wrapper with automatic masking and real-time formatting
https://ift.tt/3cTAmq1
June 13, 2020 at 12:20PM by bees4thees
https://ift.tt/3dZ8D8F
flutter_libphonenumber - The most complete libphonenumber wrapper with automatic masking and real-time formatting
https://ift.tt/3cTAmq1
June 13, 2020 at 12:20PM by bees4thees
https://ift.tt/3dZ8D8F
Dart packages
flutter_libphonenumber | Flutter Package
Leverages libphonenumber to allow for asynchronous and synchronous formatting of phone numbers in Flutter apps.
New post on /r/flutterdev subreddit:
Having trouble with facebook login
I have generated a hash key using keystore and saved it on facebook settings. The app runs fine when im in the android emulator but when I build and install the apk to test on my phone, error says key hash xxxxxx does not match any stored key hashes.What am I missing? How can I change the key hash to match the one I've saved on fb?I'm using the flutter_facebook_login plugin from pub dev
June 13, 2020 at 01:14PM by jommar
https://ift.tt/3hoU0xS
Having trouble with facebook login
I have generated a hash key using keystore and saved it on facebook settings. The app runs fine when im in the android emulator but when I build and install the apk to test on my phone, error says key hash xxxxxx does not match any stored key hashes.What am I missing? How can I change the key hash to match the one I've saved on fb?I'm using the flutter_facebook_login plugin from pub dev
June 13, 2020 at 01:14PM by jommar
https://ift.tt/3hoU0xS
reddit
Having trouble with facebook login
I have generated a hash key using keystore and saved it on facebook settings. The app runs fine when im in the android emulator but when I build...
New post on /r/flutterdev subreddit:
Patient Simulator with Flutter and Firebase
Currently developing a mobile application for local paramedic students to practise their clinical reasoning skills using a real-time virtual Zoll X Series defibrillator with tester and student mode using Flutter and Firebase.https://github.com/snakeku/Patient-Simulator-with-Zoll-X-Defibrillator
June 13, 2020 at 01:40PM by solidSnakeku
https://ift.tt/3hpfwT3
Patient Simulator with Flutter and Firebase
Currently developing a mobile application for local paramedic students to practise their clinical reasoning skills using a real-time virtual Zoll X Series defibrillator with tester and student mode using Flutter and Firebase.https://github.com/snakeku/Patient-Simulator-with-Zoll-X-Defibrillator
June 13, 2020 at 01:40PM by solidSnakeku
https://ift.tt/3hpfwT3
GitHub
GitHub - snakeku/Patient-Simulator-with-Zoll-X-Defibrillator: Developed a high fidelity mobile application featuring a Zoll X Seriesβ¦
Developed a high fidelity mobile application featuring a Zoll X Series Defibrillator, used by paramedics in Singapore, to improve paramedic students clinical judgement via realistic simulation. - ...
New post on /r/flutterdev subreddit:
Learning Flutter, trying to implement Redux with Thunk action, HTTP and Navigation
Hi guysI'm very new to Flutter but I've had experience learning native Android. I quite enjoy Flutter but I'm unable to wrap my head around building the architecture for my app.I'm using Redux, Redux persist, Thunk and HTTP.So my thunk action will dispatch a loading action and will dispatch a complete action or error action.So I need to call a Login API, call a Profile API if successful. If Profile exists, go to home screen, else go to create profile screen.Currently putting the navigation at onDidChange but I quickly figured that was a really bad place to put it.I would like some advice on this. This issue has been gnawing at me. Thank you. And sorry for the mobile format.
June 13, 2020 at 02:05PM by darkfoxdx
https://ift.tt/30Dvnr9
Learning Flutter, trying to implement Redux with Thunk action, HTTP and Navigation
Hi guysI'm very new to Flutter but I've had experience learning native Android. I quite enjoy Flutter but I'm unable to wrap my head around building the architecture for my app.I'm using Redux, Redux persist, Thunk and HTTP.So my thunk action will dispatch a loading action and will dispatch a complete action or error action.So I need to call a Login API, call a Profile API if successful. If Profile exists, go to home screen, else go to create profile screen.Currently putting the navigation at onDidChange but I quickly figured that was a really bad place to put it.I would like some advice on this. This issue has been gnawing at me. Thank you. And sorry for the mobile format.
June 13, 2020 at 02:05PM by darkfoxdx
https://ift.tt/30Dvnr9
Reddit
From the FlutterDev community on Reddit: Learning Flutter, trying to implement Redux with Thunk action, HTTP and Navigation
Posted by darkfoxdx - No votes and 2 comments