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

Flutter UI for a journal app.
https://imgur.com/x13UEHwFeatures implementedStore data in SharedPreferencesUsed RIVE to get flr files and display animations using FlareActorUsed lots of flutter builtin animation widgets (i.e. AnimatedSize, AnimatedOpacity, AnimatedContainer)Link: https://github.com/NikhilCodes/MindPlane

May 19, 2020 at 03:11PM by _Mycr0ft_
https://ift.tt/2Tivu6Q
New post on Flutter Dev Google group:

FlutterEngine headless
Hello, I am developing a SDK to manage the bluetooth communication of a device. This SDK must be able to be integrated in native iOS or Android applications, as well as in Flutter-based ones. It is also expected to grow in functionality. To facilitate maintenance, do you think it is possible to

May 19, 2020 at 03:42PM by Thibaut
https://ift.tt/3cLLKF7
New post on /r/flutterdev subreddit:

In my Flutter app with Express server - how do I return an object and tell popup browser in flutter app to close and receive the object I returned?
In my Express app, how do I return an object and tell popup browser in flutter app to close and reive the object I returned?

May 19, 2020 at 04:31PM by exilen
https://ift.tt/2z2KbEw
New post on /r/flutterdev subreddit:

Flutter JSON vs Protocol Buffer: Benefits and performance
https://ift.tt/3e1oYcJ

May 19, 2020 at 02:01PM by CraftThatBlock
https://ift.tt/3dY57es
New post on /r/flutterdev subreddit:

A suggestion from the community
Hey,I need some suggestions regarding the course that i would like to deign. I intend it to be the best course when looking out for a complete app experience in flutter(from UI design to backend ,API and Publishing). I would like the following suggestions:Which back-end and hosting platform to use? Either a custom back-end or AWS or vanilla GCP or even server less Firebase kind?API using Flask(I'm most comfortable with that) vs deno/any other JS framework vs PHPState management? Bloc or Provider?local persistence in SQFLite or Hive or normal Shared Preferences?Should i include principles of TDD as well?Should i also discuss evaluating the price for your product while working as a freelancer in the same series ?Also, should i encourage people to use the libraries provided by GCP etc for ML or should i encourage them to make their own and use it since they must be more flexible in the long run and dependency is removed from third parties for your product?Would appreciate it a lot for the suggestions.Thank you in advance.

May 19, 2020 at 06:14PM by abhishekmah98
https://ift.tt/3cH9MRP
New post on Flutter Dev Google group:

Simulate a keyboard key stroke without touching the screen.
Hey all, I am working on an app in which i need to press the return/enter key. But I want flutter to do it on its own. I am currently looking for a functionality that will allow me to simulate key strokes without touching that key.

May 19, 2020 at 06:35PM by Sameer Singh
https://ift.tt/2zNWqEX
New post on /r/flutterdev subreddit:

Change state of GridView from another file
Hello guys,I have this simple GridView which is in sellBook.dart:
Widget _takePicture() { return Container( margin: EdgeInsets.symmetric(vertical: 10), width: AppTheme.fullWidth(context), height: AppTheme.fullWidth(context) * 0.5, child: Container( alignment: Alignment.center, child: GridView( gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( crossAxisCount: 1, childAspectRatio: 1, mainAxisSpacing: 5, crossAxisSpacing: 10), padding: EdgeInsets.all(10), scrollDirection: Axis.horizontal, children: AppData.sellImages .map((product) => sellImageCard( product: product, )) .toList()), ) ); } 
This gridview lists sellImageCard which are cards defined in an other file:
 void _settingModalBottomSheet(context){ showModalBottomSheet( context: context, builder: (BuildContext bc){ return Container( child: new Wrap( children: <Widget>[ new ListTile( leading: new Icon(Icons.camera_alt), title: new Text('Camera'), onTap: () => { getImage(), AppData.picture_count++, AppData.sellImages.add(new sellImage(AppData.picture_count, Image.asset('assets/camera.png'))), print(AppData.sellImages[AppData.picture_count].id), } ), new ListTile( leading: new Icon(Icons.camera), title: new Text('Gallery'), onTap: () => {}, ), ], ), ); } ); } } 
AS you can see when I click on a sellImageCard, I create a new card that I add to sellImages. But the gridView in sellBook doesn't update once a new card has been created. How could I update it? I guess I have to use setState but how can I access the state of a widget in an other file?Best regards

May 19, 2020 at 07:00PM by tobiodp12
https://ift.tt/2WIsp29
New post on /r/flutterdev subreddit:

Simulate a keyboard key stroke without touching the screen.
Hi devs,I am currently working on a project in which i need to press the return/enter key manually, but i want flutter to do that for me. Currently I am looking for a way by which i can perform a keyboard action without touching the screen.

May 19, 2020 at 06:41PM by sameersingh2704
https://ift.tt/2TlviUA
New post on /r/flutterdev subreddit:

Where do you get your app design ideas?
Hi, when it comes to designing an app I always get stuck at a certain point, since I'm a programmer and I lack that "artistic" touch I find it hard to come up with a proper design, no matter what the app is about. I only know Dribble and it's nice but I thought you guys know some other sites that might help too.

May 19, 2020 at 07:07PM by TheDepressedSyrian
https://ift.tt/2TlkYMt
New tweet from FlutterDev:

ICYMI: We're excited to share that the XD to Flutter plugin is now available in early access to help you speed up your design-to-development workflow! https://t.co/DHKYxCpPry— Adobe XD (@AdobeXD) May 18, 2020

May 19, 2020 at 07:31PM
http://twitter.com/FlutterDev/status/1262798142887493632
New post on /r/flutterdev subreddit:

Another Covid-19 Application
Hello FlutterDev community,We’ve build an application to educate people in regards to Covid-19 with various information such as the preventive measures to be taken, symptoms, myth busters and more.The application is open source and is built for both mobile and web platforms.WebsiteMobile Version Source CodeWeb Version Source CodeWe are trying to add more features that actually might help the general public. A country based Donate button and a symptom checker is what we are discussing right now.Essentially the goal is to keep this as the centralised source of information. (Local News also in in discussion)Let us know what you think about it.

May 19, 2020 at 07:56PM by aseef17
https://ift.tt/2AH3K5v
New post on /r/flutterdev subreddit:

How do you do i18n/l10n?
TL&DR consider easy_localization and its companion easy_localization_loader.(Longer version...)I am looking for a i18n/l10n design + solution for a project I am working on. As a new comer to Flutter and mobile development in general, I was surprised to learn that there is no officially recommended way for something I'd consider fundamental to all app design.AFAIK the closest to "official' approach is described under Internationalization on flutter.dev . To be honest, this page reads like techno soup to me. There are a lot of boiler plate code, and the examples presented isn't what I'd consider simple, scalable, and realistic. Mentioned as an option is the intl package, which seems to be popular based on down stream dependent packages on pub.dev. I looked into it and thought it is quite feature complete but still seems a little code heavy for simple usage. So I looked around and tried out a few other i18n packages, and finally I found easy_localization and it's companion easy_localization_loader.Within minutes I got it working with minimal code changes to my app. All I had to do is:add plugin to dependencyadd json file for each supported locale to my projectwrap my run app as described in the example (copy pasta below)​
import 'package:flutter/material.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; import 'package:easy_localization/easy_localization.dart'; void main() { runApp( EasyLocalization( supportedLocales: [Locale('en', 'US'), Locale('de', 'DE')], path: 'assets/translations', // <-- change patch to your fallbackLocale: Locale('en', 'US'), child: MyApp() ), ); } class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( localizationsDelegates: context.localizationDelegates, supportedLocales: context.supportedLocales, locale: context.locale, home: MyHomePage() ); } } 
After that anywhere in my code whenever I have a localized string I just have to wrap it with tr(). e.g.
Text(tr('welcome')); // instead of Text('welcome') 
I was also surprised to find that to save a user's preferred locale to local storage is just a boolean flag. It uses shared_preferences under the hood and I verified that it works on ios and android, and gracefully fail without breaking anything in web.In the future I intend to load the resource strings remotely, and I was pleasantly surprised again that the companion easy_localization_loader offers an http loader that can be configured as an easy one liner.Looking over on the package's github page, seems like the community is very active, another good sign. The fact that it relies on intl as the underlying foundation also makes me feel better that I have access to the other features such as gender, number, datetime formatting etc.​Seeing that there aren't other post talking about this great plugin, I decided to write a post about it to raise awareness among fellow flutter enthusiasts.

May 19, 2020 at 08:11PM by BeGoodOne
https://ift.tt/2WInjTE
New post on Flutter Dev Google group:

Module 'cloud_firestore' not found
Hey I get the error `Module 'cloud_firestore' not found` when running Product archive in Xcode. My flutter app's working fine in the simulator even Firebase is working properly. I have no idea to fix this Error....

May 19, 2020 at 09:02PM by Nils
https://ift.tt/2WK9dku
New post on Flutter Dev Google group:

my reorderlistview is not working
Can anybody take a look at my code and help me why my reorder is not working. so when ever I try to drag the item to new position, the rest of other items disappear for a while and when I drop the one that I'm holding, it didn't make any changes (positions). import 'package:flutter/material.dart

May 19, 2020 at 10:12PM by aasenomad
https://ift.tt/3cPEmso
New post on Flutter Dev Google group:

how to redesign reoderablelistview in flutter
I have a containers inside reoderablelistview and when ever the user try to drag the item, you can see extra layout so is there a way that I can fix it to be exactly like the containers inside so that it look better. Any help or suggestion will be really appreciate. thanks ``` Widget

May 20, 2020 at 12:04AM by aasenomad
https://ift.tt/2ykQenq
New post on /r/flutterdev subreddit:

Here is a simple tutorial in setting up flavors in Flutter. This setup applies to both iOS and Android without changing their respective config files
https://ift.tt/3bNnYHR

May 20, 2020 at 03:31AM by rafaelph
https://ift.tt/2Tnwnv8
New post on Flutter Dev Google group:

Provider gives error after upgrading from ^3.1.0 to ^4.0.0 or above
I'm using provider: ^3.1.0, and my code works fine. After I upgrade Provider to provider: ^4.0.0 or above , it starts giving below error. Any suggestion? Syntax that gives error: Provider.of
New post on /r/flutterdev subreddit:

Announcing Appwrite 0.6 With Full Flutter Support
After about six long weeks of hard work since the last version release, Appwrite 0.6 is finally out with full support for Flutter integration and more new features 🥳If you haven’t heard about Appwrite before, It’s an open-source BAAS (backend-as-a-service) that abstracts a lot of the complexity and repetitiveness required when building a backend API from scratch. The server comes packaged as a set of Docker containers you can host anywhere really quickly, and it has lots of built-in security features.You can read the full announcements on Medium: https://medium.com/@eldadfux/introducing-appwrite-0-6-with-flutter-support-1eb4dce820f3?sk=8f3b0ff0446fdb667d31d558bc540456 or you can watch the online announcement at the *live* meetup we held yesterday: https://www.youtube.com/watch?v=KNQzncq10CIIf you think Appwrite can be a good fit for your next Flutter app, you can learn more about the project at the official website or on the GitHub repository:https://appwrite.io
https://github.com/appwrite/appwriteYou can also join the Appwrite Flutter community on Discord (https://discord.gg/GSeTUeA), where you can get support and updates.

May 20, 2020 at 09:06AM by eldadfux
https://ift.tt/3g80obW