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

Widget Inversion. Is this a good idea?
Problem: Multiple levels of nesting in code is very hard to read, and that applies fully to Flutter Widgets.Normally, the solution is to break things out into private methods and go from there, but the problem of nested code is usually related to conditionals rather than wrapping. Doing that with conditionals highlights the most important details (the conditions), but with widgets, while it's still very helpful for being able to reason about your abstractions better, you can end up hiding the most important details.An idea I've been experimenting with recently is to invert the entire structure. Build the widget by starting with the meat and add wrappers one at a time, like this:
@override Widget build(BuildContext context) { List<Widget> mainContent = [ SectionHead(), SectionBody(), SectionFoot(), ]; Widget widget; widget = _addColumn(mainContent); widget = _addSafeArea(widget); widget = _addScaffold(widget); widget = _addGestureDetector(widget); widget = _addInactivityDetector(widget); return widget; } 
This seems to maximize readability to me, but it's getting pretty far away from normal Flutter patterns. It also has the distinct advantage of being able to easily add and remove layers without changing anything else about the code, making it much more SOLID.So, are there any gotchas I'm missing here? Other than potentially making those all Classes instead of methods.

November 22, 2021 at 09:37PM by Wtygrrr
https://ift.tt/30KTaIk
New post on /r/flutterdev subreddit:

Google needs to step on the gas while they're in the lead
Flutter has been a success but Microsoft is out for blood. MAUI is basically flutter but written in C#. If it lives up to the hype, I think it's inevitable that it will dethrone flutter...because C# is not only more mature, it's also faster, more versatile (games, ml, server side, embedded) and it's ecosystem is next to none(especially tooling), with the added bonus that C# is essential to the core of Microsoft so companies will know for sure that it'll be around for the long run, can we say the same about Google and dart?I think Google needs to make significant investments in making dart viable outside of flutter, if it's to go toe to toe with C#. It's not a good sign that an old language with that much baggage is envolving faster than dart, which is only 10yo, namely Pattern matching, destructoring, discriminated unions etc...

November 23, 2021 at 04:16AM by fyzic
https://ift.tt/30XS63A
New post on /r/flutterdev subreddit:

please help me resove this crash
i am getting this crash from the firebase crashlytics. please help me solve this ASAP.io.flutter.embedding.engine.dart.DartMessenger$Reply.reply (DartMessenger.java:35)

November 23, 2021 at 07:10AM by Hemingway_21st
https://ift.tt/3nHOOdt
New post on /r/flutterdev subreddit:

Is there a way to make a flutter app which when opened, opens a webpage inside the app say xyz.com and has a back button inside which redirects it back?
I have no Mobile Development Experience whatsoever-Just getting started on flutter, tried googling something by the name of WebView() has to be used don’t know how that works any advice would be appreciated! StackOverFlow doesn’t help all they do is downvote smh

November 23, 2021 at 08:04AM by RegionHour
https://ift.tt/3FGC8tC
New post on /r/flutterdev subreddit:

3D in flutter
Hi Flutter folks 👋Have you tried canvas' `drawVertices`? It's much faster than paths and lines drawing. I just published oss package which draws 3D objects only with vertices. I'd really appreciate your test and feedback:https://pub.dev/packages/ditredihttps://jelenski.gitlab.io/ditredi/#/

November 23, 2021 at 09:04AM by mjelenski
https://ift.tt/3oUTig5
New post on /r/flutterdev subreddit:

Can flutter debug symbols generated be version controlled?
https://stackoverflow.com/questions/70076509/can-flutter-debug-symbols-generated-be-version-controlled

November 23, 2021 at 08:20AM by Harsh182
https://ift.tt/3xeKAgq
New post on /r/flutterdev subreddit:

Is Flutter really beginner-friendly?
Hello everyone, I'd like hear Flutter Devs opinion about a topic. I've been using flutter for 3 months now and I could say that it gets more frustrating every day. Yes building UI's is so fast and easy but building and maintaining architecture are so complicated. I'm coming from a different background and this is my first experience building mobile apps. But even in the community, there doesn't seem to be a solid, agreed-upon way to structure apps. Am I wrong, how do you structure your apps and manage the state? Is there a solid, well-established way? Or should I go read some books?TL;DR : I can't build well-architectured apps, should I go read some books or switch to a different framework(Android, ios)?

November 23, 2021 at 09:28AM by mavisizi
https://ift.tt/3CKCgX8
New post on /r/flutterdev subreddit:

Odin - Easy File Sharing App [Made with Flutter]
Hey all! 👋
Today is a great day for us all who have been working to release a preview of Odin.
It is an open-source, cross-platform, hassle-free file sharing with AES-256 encryption made with Flutter & Dart.
Feedback & suggestions from you all are appreciated.
GitHub link - odinapp/odin: Open-source, cross-platform, hassle-free file sharing with AES-256 encryption made with Flutter & Dart. (github.com)

November 23, 2021 at 02:09PM by LiquidatorAB
https://ift.tt/3r0NO6n
New post on /r/flutterdev subreddit:

Learn how to create custom widgets and draw your own shapes in your Flutter apps with Flutter Canvas API
https://ift.tt/3r3QGPK

November 23, 2021 at 04:02PM by wilburtx9
https://ift.tt/3oSEizw
New post on /r/flutterdev subreddit:

Admob Alternatives
I am going to replace Admob in my app and wanted to know what others experienced doing the same for a US-based app. Is there a preferred package?

November 23, 2021 at 03:37PM by RGinFL
https://ift.tt/3CLFR7p
New post on /r/flutterdev subreddit:

Flutter Apprentice, 2nd Edition ebook
https://ift.tt/3oUtp06

November 24, 2021 at 06:53AM by Futureisnotsecure
https://ift.tt/3DOBMR6
New post on /r/flutterdev subreddit:

<b>React Ecommerce Templates</b>
React Ecommerce TemplatesReact is the most popular library for the development of e-commerce applications. React templates for building eCommerce apps are the combination of several components and elements. These small components are packed in containers and then they form the user interface of the React app. React templates for building eCommerce sites act as a blueprint for developers.React eCommerce templates are dynamic and versatile and they can be used for building an exclusive React app for eCommerce. These templates are completely customizable and can take any shape as you specify them. As the front end of your <a href="https://www.quikieapps.com/blog/create-react-app/">React app</a> will indicate the quality of your services. It is essential that you should design a scalable system to emancipate your business.React eCommerce templates significantly improve your speed while <a href="https://www.quikieapps.com/services/react-native-development-company/">React native app development services</a>. You can find dedicated templates that are meant for providing value to your needs. Also, you do not need to make lots of changes to meet your requirements.Why React Ecommerce Templates?Ther React library has numerous templates for eCommerce development. While working in such templates you can modify each template according to your need independently. That means you are free to change any element on the UI without affecting other elements. This avoids the need for rendering the entire page every time you modify an element from the interface.Every template in the react library is comprehensive and can be copied to another template That gives flexibility to a developer. Sometimes creating an interface for eCommerce sites becomes very confusing. In such cases, these templates act as a starting point or inspiration for development.Top React Ecommerce Templates<strong>1. Molla</strong>Molla is a fully-featured library for the development of excellent user interfaces and UX. This template library is loaded with a vast set of tools and features from which you can create an interface for the eCommerce app. Also with the help of this template the app developed can have amazing features and performance. This template provides you 20 sample eCommerce sites from which you can take reference for your ideas.Molla is very convenient for getting a response and has a basic design architecture. It has a simple interface that is quick to understand and operate. It also supports full width strips layouts for the app. Molla provides access to a varied number of icons that are used in the eCommerce business. You can make your react app to display the latest products and services in an interactive manner.This template can be used in several browsers and can have several animations or transitions for making the app interesting.<strong>2. Novine</strong>Novine is a simplified and interesting library that provides templates for eCommerce apps. Novine has enabled developers to use react.js, Next.js, React-Redux, ES6+, Sass as well as Bootstrap 4. This template library is used for the development of modern eCommerce sites that have excellent responsive capabilities. It has 4 demo react apps to understand the features.Novine also has support in payment methods with the use of the latest strip methods. The documentation for this template is very detailed and includes everything that this template can do. Also, the components in this template provided by it are easy for modification. In addition to these features, there are a number of functionalities this template can provide you.The source code of the template is simpler to handle and customize. It has support for a varied number of transitions and animations for every element you add to the app interface.<strong>3. Livani</strong>Livani is a clean and interactive template that is used for making scalable and modern react apps for eCommerce.…
New post on /r/flutterdev subreddit:

Learn to build a Zoom clone in Flutter over the Weekend
Build a Zoom clone in Flutter with Vivek Yadav (Google Developer Expert in Flutter, Building Mobile at ZestMoney) on 2nd December at 10:00 AM ET | 8:30 PM IST. In this workshop,
📷 Understand how Zoom works
📷 Integrate the 100ms Flutter SDK
📷 Build features like mute/unmute, leave/join room & messaging)Register here: 📷
https://community.100ms.live/zoom-clone-flutter 

November 24, 2021 at 06:19AM by scarneck_professor
https://ift.tt/3cFNgdG
New post on /r/flutterdev subreddit:

Things to consider for a Grpc noob
I am starting to learn grpc.For Front-endWhat library should I look into if I want to integrate grpc in my flutter app. Just like we have http for integrating rest apis do we have something in dart?For Back-endI have seen a lot of tutorial with go lang as most people seems to be using go lang for creating grpc services. What backend tech are you using for creating grpc services if not go lang?​Any tips or suggestions for a grpc beginner would be appreciated. Does any one know of any good video course of full stack grpc. I am having touch time understanding the grpc docs as I am a below average programmer. I see lot of courses for graphql but looks like there is hardly any love shown to Grpc by content creators.

November 24, 2021 at 07:43AM by BraveEvidence
https://ift.tt/3l6nIv0