Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on Flutter Dev Google group:

How to ignore the monitoring of two finger events and only monitor single finger operations
How to ignore the monitoring of two finger events and only monitor single finger operations

June 08, 2020 at 12:50PM by zero zo
https://ift.tt/3cFHR3P
New post on /r/flutterdev subreddit:

Nice approach for l10n code generation with build_runner — "Yet another localization approach in Flutter" by Anna Domashych
https://ift.tt/3dL6duf

June 08, 2020 at 01:18PM by olexa_le
https://ift.tt/3cJzCnB
New post on Flutter Dev Google group:

how to use url launcher?
hi guys. my users fill a form with information such as cellphone number , email and website address as Strings. witch are shown in a contact me page. i am trying to use the Url launcher packge to launch them but unsuccessfull, this is my code for launching the website address! void _launchUrl(

June 08, 2020 at 03:29PM by Error Place
https://ift.tt/2YrLsxB
New post on /r/flutterdev subreddit:

Is it possible to generate Flutter code from UI Designing Tool(Figma)?
Currently, I have a designer who designed the UI of the app using Figma. However, is it possible to convert the UI in Figma to Flutter code so that I do not have to code the UI by myself?I plan to code the UI in flutter by myself, but my superior said that it is impossible to code a UI from scratch every time especially for those big company, he claimed that there must be some sort of way to generate code from those designing tool..... So I wonder, is every one of you, flutter developer, really code UI from scratch?

June 08, 2020 at 05:05PM by danielseow96
https://ift.tt/3dLrBQ2
New post on /r/flutterdev subreddit:

Flutter Tap Weekly Newsletter Week 42 - Tutorials, videos, packages, and much more!
https://ift.tt/3h9cH8i

June 08, 2020 at 05:41PM by vensign
https://ift.tt/2UmpCKA
New post on /r/flutterdev subreddit:

Object Oriented Dart & Flutter. Koans way.
https://ift.tt/3h5o6WQ

June 08, 2020 at 07:32PM by Elegium
https://ift.tt/2XKh8Po
New post on /r/flutterdev subreddit:

I have tens of child elements in a Stack that need to be dragged, should I use tens of GestureDetectors?
I have tens of child elements in a Stack that need to be dragged, should I use tens of GestureDetectors? TIA.

June 08, 2020 at 07:21PM by 2reform
https://ift.tt/2BLTDwU
New post on Flutter Dev Google group:

Error: Entrypoint doesn't contain a main function
HI Team, Any idea why am getting attached Message while i press Shift + F10 to reflect change on virtual device. appreciate your feedback.

June 08, 2020 at 09:34PM by Ahmed Magdy
https://ift.tt/3cKALLw
New post on /r/flutterdev subreddit:

Chromecast Support ?
Hi allI have the idea to create a small Chromecast app and I was wondering if flutter will allow for this. I sorta know Java ( and it's never a bad idea to brush up ), but I'd prefer to do it in Flutter .

June 08, 2020 at 09:40PM by undefinedNANString
https://ift.tt/2XMkSQB
New post on /r/flutterdev subreddit:

fdottedline | Create dashed lines & dashed borders for widgets
https://ift.tt/3h98BgL

June 08, 2020 at 09:22PM by Elixane
https://ift.tt/3f81jYN
New post on Flutter Dev Google group:

package:flutter/src/gestures/monodrag.dart'
here is my code import 'package:carousel_slider/carousel_slider.dart'; import 'package:flutter/material.dart'; class HomeScreen extends StatelessWidget{ @override Widget build(BuildContext context) { return OfferCorousel(); } } class OfferCorousel extends StatefulWidget{

June 08, 2020 at 10:14PM by AYUSH Arora
https://ift.tt/3dFSoNM
New post on /r/flutterdev subreddit:

Rules - Powerful and feature-rich validation library for both Dart and Flutter.
Rules is a simple yet powerful and feature-rich validation library for both dart and flutter.FeaturesHighly flexibleEasy to understandLess boilerplate codeCustom error handlingOverride individual errorsFlutter friendlyState management library friendly (Mobx example included)ConceptThe Rules library has three partsRule: Basic ruleGroupRule: Group together and validate the basic rulesCombinedRule: Validate multiple basic rules and group rules togetherUsageInstall Rules dart package from https://pub.dev/packages/rules#-installing-tab-Basic usage example:
import 'package:rules/rules.dart'; void main() { /// /// Rule /// const textFieldValue = 'abc@xyz'; final rule = Rule( textFieldValue, name: 'Text field', isRequired: true, isEmail: true, ); print(rule.error); // output: 'Text field is not a valid email address' print(rule.hasError); // output: true if (rule.hasError) { // some action on error } else { // Some action on success } /// /// GroupRule /// const textFieldValue1 = ''; // or const textFieldValue = null; const textFieldValue2 = ''; final rule1 = Rule( textFieldValue1, name: 'Text field 1', isRequired: true, ); final rule2 = Rule( textFieldValue2, name: 'Text field 2', isEmail: true, ); final groupRule = GroupRule( [rule1, rule2], // value; List of Rule name: 'Group name', // placeholder value which will be used while displaying errors ); print(groupRule.error); // output: 'Text field 1 is required' print(groupRule.hasError); // output: true /// /// CombinedRule /// const textFieldValue1 = ''; const textFieldValue2 = 'abc@xyz.com'; final rule1 = Rule( textFieldValue1, name: 'Text field 1', ); // Validation OK final rule2 = Rule( textFieldValue2, name: 'Text field 2', isEmail: true, ); // Validation OK final groupRule = GroupRule([rule1, rule2], name: 'Group name', requiredAll: true); // Validation FAILED const textFieldValue3 = ''; final rule3 = Rule( textFieldValue3, name: 'Text field 3', isRequired: true, ); // Validation FAILED final combinedRule = CombinedRule( rules: [rule3], groupRules: [groupRule], ); print(combinedRule.errorList); // output: ['Text field 3 is required', 'All fields are mandatory in Group name'] print(combinedRule.hasError); // output: true if (combinedRule.hasError) { // some action on error } else { // Some action on success } } 
GitHub URL: https://github.com/ganeshrvel/pub-rulesPackage URL: https://pub.dev/packages/rules

June 08, 2020 at 11:13PM by ganeshrnet
https://ift.tt/2XKAior
New post on /r/flutterdev subreddit:

Looking for a tutor
I am looking to create a Flutter app. But I want to create it myself. I am looking for a tutor who can walk me through it. I am looking at 30 minutes of 1 on 1 time every day for 30 days as I work myself to Flutter. The app needs to be deployed in the app store and working for us to declare the project successful. I am willing to pay for your services.

June 09, 2020 at 12:59AM by FlutterLearner2019
https://ift.tt/30mM0HB
New post on /r/flutterdev subreddit:

beta version of pub_release
I've just released a beta version of pub_release.Pub Release is a cli script for automating the release of dart/flutter packages to pub.dev.It automates a number of the processes using an interactive script:Formats all code using dartfmtIncrements the version no. using semantic versioning after asking what sort of changes have been made.Creates a dart file containing the version no. in src/version/version.g.dartUpdates the pubspec.yaml with the new version no.If you are using Git:Generates a Git Tag using the new version no.Generates release notes from commit messages since the last tag.Allows you to edit the release notes.Adds the release notes to CHANGELOG.MD along with the new version no.Publishes the package to pub.dev.If you would like to give it a try I would love to get some feedback.You can just cancel the action to publish to pub.dev if you decide its not done the right things.Make certain you have checked your code in before starting the script. Its unlikely to do any damage to your project but better safe than not.To install pub_release run:pub global activate pub_release​To run pub_releasecd <your package root>pub_release

June 09, 2020 at 05:41AM by bsutto
https://ift.tt/2XOJPeh