Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
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
New post on Flutter Dev Google group:

parsing the json reponse
i want to parse the json and setting the response into model class. but i stucked here. any help var data = json.decode(response.body); //var rest = data["NearbySalons_deals"]; //print(rest); var rest = data['NearbySalons_deals']; print(rest); var offersjson = rest['Offers'] as List; print(offe

June 09, 2020 at 09:05AM by Gaurav Swarankar
https://ift.tt/3eZOPlG
New post on Flutter Dev Google group:

https://ift.tt/3dNpvz8
https://ift.tt/3f8mo5s ``` /C:/src/flutter_windows_1.17.3-stable/flutter/packages/flutter/lib/src/services/system_chrome.dart:12:1: Error: Not found: 'dart:ui' export 'dart:ui' show

June 09, 2020 at 09:31AM by John Melody Me
https://ift.tt/2UqEG9T
New post on Flutter Dev Google group:

What do I when I get stuck coding with Flutter?
Which is best place to drop my coding problems? This group seems not to suitable for coding. I used to post on StackOverflow, but it does not get many views/responses. An example would be a question I posted yesterday: https://ift.tt/2YfyXF3

June 09, 2020 at 10:42AM by Leon van Rijswijk
https://ift.tt/3dM9M3x
New post on /r/flutterdev subreddit:

FLUTTER EPUB READER APP
How to display all the books which are in epub format in the mobile and allowing us to read the selected book using a flutter framework?

June 09, 2020 at 10:36AM by adiammu
https://ift.tt/2XIPORG
New post on /r/flutterdev subreddit:

Anyone made any apps for Fucshia?
Just wondering since this seems to be the huge driving for Flutter yet I see no docs or any tutorials, even unofficial stuff on building an app for just Fuchsia not iOS/Android.

June 09, 2020 at 12:44PM by splishyandsplashy
https://ift.tt/3cNOMYX
New post on /r/flutterdev subreddit:

Checkout Habito- An app to track and build Habits. Feel free to DM me questions or contribute!
https://ift.tt/37f2se9

June 09, 2020 at 12:59PM by rumblytag
https://ift.tt/2AfMrIQ
New post on /r/flutterdev subreddit:

Android before flutter?
Hey guys, I was just wondering how much native development is necessary before I can move to flutter, certain aspects such as handling background tasks, sync adapter etc aren’t readily available in flutter I suppose. So do I need to have a strong background in native mobile dev before jumping to flutter? I have experience with server side development but not so much with mobile.

June 09, 2020 at 01:21PM by ragnarok_79
https://ift.tt/37ehykd