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

Flutter complete course free
https://youtu.be/B26F2VAsKTU

December 27, 2021 at 11:05PM by Honest-Extreme-3054
https://ift.tt/3evGxnI
New post on /r/flutterdev subreddit:

why should I use state managements
Hello guys,I've been using Provider with change notifier for a while, but now I decided to improve myself and learn new ways of state management.I read about bloc and redux and mobx and tried to understand the main concept of them, but I really can't understand what is the need to use them?I mean do I need these complex ways to control my states when I'm currently using ChangeNotifier and Consumer for dealing with my data and different states and it's working for me.finally, I just wanted to make this clear, I'm not saying that state managements are bad or useless, I'm just asking so I can have a better understanding of this topic and learn how to be a better programmer and write a better code

December 27, 2021 at 11:15PM by ahmadjz
https://ift.tt/3FO8NxX
New post on /r/flutterdev subreddit:

I am not enjoying Flutter
Nobody Likes a rant, but Flutter is the one tool where every time I want to learn a little bit more... it pushes back hard. "No stay it your lane! Make simple little GUI stuff! Don't try to get fancy!"Here is my abbreviated list of pain points.1.) As they update Flutter, they keep introducing changes that break old code. If you want to google a working example, you presently have to filter for things written April 2021 or later. Anything before that won't compile. And then you end up trying to explain to the sample code how things work rather than the other way around.2.) The Flutter community is small and too spread out. The flutter pages list 9 different places where you can get help with questions (including here) the problem is that none of those locations has the critical mass needed for the whole thing to work. There are more un-answered Flutter question on Stack overflow than ones with answers. If you ask about a unique edge case, non-one knows the answer... because there are probably only 6 people who encountered that exact same issue and found a solution.3.) Way too much core functionality has been left out, hoping that community contributed packages will pick up the slack (Background services?). While the process of adding packages is very user friendly... there is almost zero policing of the published packages. There are hundreds of packages that are not being maintained and do not work with the current version of Flutter. So now everytime I import a package I need to wonder: Will this package still be around in 6 months? Am I setting myself up for some serious pain down the road? All I have to go by: How recently was it updated, how many likes does it have?4.) Flutter/Dart feels like a project run by the kind of people who will ask you to invert a binary tree during and interview... even though their company doesn't use trees in any project. By that I mean: it feels unnecessarily complicated. Who thought Navigator 2.0 would catch on, or JSON -> Object in 4 non-easy steps was perfectly normal. And it's getting worse, didn't buttons used to have a simple color: property... and now you need to write:
TextButton( style: ButtonStyle( backgroundColor: MaterialStateProperty.all<Color>(Colors.blue), ), ... 
I still use Flutter, I still intend to use Flutter in the future. But I'm not enjoying it.

December 28, 2021 at 12:20AM by always_afraid
https://ift.tt/3qANn0S
New post on /r/flutterdev subreddit:

How many estimated hours does Flutter Apprenctice take to finish?
Am wondering

December 28, 2021 at 04:09AM by duckducklo
https://ift.tt/3quqv2P
New post on /r/flutterdev subreddit:

Best approach for syncing database to the cloud service in poor network areas
I am creating a new mobile application for a small company. It will be used mostly on Android but maybe on some iOS devices as well. The application data of each user will be isolated, which means it can work perfectly fine without exchanging any data between users and the internet connection is also not required for a normal working of the application.However, I want to sync application data to some cloud service, maybe remote mysql or to any other cloud service like firebase. The application data will mainly contain a database, few images and pdf documents. The primary purpose is to have some kind of backup, which can be used in case of any data loss (device stolen or damaged).I delivered a small application back in 2019, which totally relies on local mobile storage. The device was stolen few months ago and they have to start from scratch. I feel very bad because the sole purpose of having any kind of software is to preserve business data, if it is lost somehow then it's useless to have a business application. :(Now coming to my question, I can't totally rely on remote storage service because of bad internet coverage in the user area. And relying on the internet won't ensure 100% availability. So, I am thinking to store data on mobile in sqlite database and somehow sync frequently to remote server. The dumb approach would be to archive all application data and send to remote location. And I think the ideal approach would be to keep track of all changes and sync new changes only but I'm not sure, how.Questions:What is the best approach to sync local application data to remote server?How can we keep track of all changes in application data (database and files)?In case of centralized database (multiple user writing to same database), how can we track and apply changes when multiple user updates the same data?

December 28, 2021 at 05:20AM by AlenaCarles
https://ift.tt/32vj5Ez
New post on /r/flutterdev subreddit:

What will you choose for your next app development project?
For other frameworks, share in comments with reason.View Poll

December 28, 2021 at 09:40AM by hyperlink-infosystem
https://ift.tt/3sEKej5
New post on /r/flutterdev subreddit:

Is macbook air M1 with 16GB ram a good buy for Android development on Android studio?
Need advice at the earliest

December 28, 2021 at 09:16AM by tshin95
https://ift.tt/3EyaWfu
New post on /r/flutterdev subreddit:

Alternative real time databases
Does anyone here know any good self hosted or hosted database which is realtime and cheaper than firestore?? I need it for realtime iot data.

December 28, 2021 at 10:19AM by djinsane07
https://ift.tt/3Fvkw46
New post on /r/flutterdev subreddit:

swipable_stack | A widget for stacking cards, which users can swipe horizontally and vertically with beautiful animations like Tinder
Hi, there!I’d like to introduce new Flutter package here, which is swipable_stack.(Sorry, the package name `swipable_stack` is typo of swipeable stack)https://pub.dev/packages/swipable_stackswipable_stack proivdes SwipableStack widget which enables users to swipe cards with beautiful animations like Tinder.swipable_stack supports swiping right, left, top, bottom and even rewinding. Off course you can control SwipableStack behavior with using SwipableStackController.I hope this package will improve your app’s user experience.Thanks.

December 28, 2021 at 12:06PM by _HeavenOSK
https://ift.tt/3mE6Hce
New post on /r/flutterdev subreddit:

java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity
I'm integrating mastercard payment gateway sdk in my project, this is the link
https://github.com/Mastercard-Gateway/gateway-android-sdk/wiki/3d-secure-authentication
I want to display 3-D Secure authentication screen but when the app launches it crash and the error it is displaying "java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity". I checked in stackoverflow but unfortunately no success.Manifest
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.app">
<application
android:label="App"
android:icon="@mipmap/main_launcher">
<activity
android:name=".MainActivity"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
<meta-data
android:name="io.flutter.embedding.android.SplashScreenDrawable"
android:resource="@drawable/launch_background"
/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<activity
android:name="com.mastercard.gateway.android.sdk.Gateway3DSecureActivity"
android:label="@string/gateway_3d_secure_authentication" />
<meta-data
android:name="flutterEmbedding"
android:value="2" />
</application>
</manifest>Styles
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
<item name="android:windowBackground">@drawable/launch_background</item>
</style>
<style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>

December 28, 2021 at 02:02PM by That-Power-3394
https://ift.tt/347Ubvn
New post on /r/flutterdev subreddit:

My journey from a self-taught flutter developer to a working professional
Check out my article on my transition from being a self-taught flutter developer to a working professional. Hope this helps you all in the journey of being a full-time Flutter developerhttps://link.medium.com/t5Xsfns9lmbMedium Article

December 28, 2021 at 02:17PM by harithsen
https://ift.tt/32JbiCE
New post on /r/flutterdev subreddit:

Flutter + Redux Repository Pattern ?
Hello Flutter community , I have question that made me pull my hair in the past few days,To give some context I'm new to flutter but i've worked with Android and mobile development for the past 3 years , In Android (Kotlin) I've always worked with MVVM mixed with Repository Pattern to take care of everything from UI to doing api calls and Database operations , and it worked great it gave me this mental model where without thinking i knew the next thing to do if you know what i mean .Last year i started looking into new frameworks especially Reactive ones, Started with Jetpack Compose , Learned about the world of states and it really felt intuitive . but due to compose being in early stage , it lacked some features (By now they addressed most of them e.g Navigation Animation ) ,after that i switched to React native tinkered with it and used Redux and implemented and few projects with it and that's about it .last month i learned that some good company at my area is in need of Flutter developers ,so i said why not , so i started my flutter journey , one thing i can say for sure is i'm in love with the idea of everything is widget when it comes to UI because like i mentioned before for me everything is about having a mental model .but while i'm at it , i noticed something, blog posts and flutter developers are mixing Design patterns with State management solutions , for example comparing Redux vs MVVM , which in my understanding is wrong (or maybe i'm wrong ).yesterday i found out about this great talk , which really made me hopeful again.so i started going through Flutter Redux documentation and tutorials and noticed something called middlewarewhich they said is used when you need to do api calls , so it's struck me again , if my api calls are handled here why use repository then, in fact why do you need Design Pattern in the first place if everything can be handled by State management ?

December 28, 2021 at 05:34PM by aimen08
https://ift.tt/3EB7Ibh
New post on /r/flutterdev subreddit:

i7 8xxx or m1 for Android/Flutter development
Hello, I'm a mobile developer leader in a big company and I need to choose between two different laptop for a junior developer: a macbook pro 13'' 2020 with M1 (first M1 chipset, not pro or max) or an hp laptop with i7 serie 8xxx.I've never used a M1 macbook, I currently own a 2019 macbook with i9 and it's awesome for flutter/android development.Which one do you suggest for mobile development only ? This guy will only use flutter for the next 6/12 months and maybe he'll learn native android development too (kotlin).I'm interested in the most stable, reliable and fast laptop between the two

December 28, 2021 at 07:08PM by adramhel
https://ift.tt/3sH3pc2
New tweet from FlutterDev:

👀 Curious about tear-offs but too afraid to ask? 😎 @craig_labenz has you covered! Watch the latest #DecodingFlutter to learn more about using a function directly as a parameter or variable, without wrapping it in an unnecessary lambda. Here 👉 https://t.co/LHdVvmkuH9 https://t.co/1td1nvzfgV— Flutter (@FlutterDev) Dec 28, 2021

December 28, 2021 at 07:30PM
https://twitter.com/FlutterDev/status/1475896871063371780
New post on /r/flutterdev subreddit:

Getx Unit test Using Mocktio
I'm trying to unit test with Getx using Mocktio. but i haven't found any good Resource

December 28, 2021 at 07:40PM by prolaymm
https://ift.tt/3FvDho5
New post on /r/flutterdev subreddit:

Job Openings Stats - Flutter vs React Native (Linkedin)
I was browsing on Linkedin and got curious about job openings for these two technologies, thought I'd share the result I had found.Global :
Flutter    13,390
React Native 100,801European Union :
Flutter    2,180
React Native 16,62Remote :
Flutter    432
React Native 4,641Looking at the online presence of developers, I had assumed Flutter would have maybe a third, of RN's job openings at the minimum. But this was very surprising, it's hovering around a tenth of React Native open jobs as of now.

December 28, 2021 at 08:48PM by zach6t7
https://ift.tt/3px7IEU