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

Flutter Triple - A new state management solution that looks promising
Have you ever heard of triple? There is a link on the official Flutter state management doc, I discovered it this morning.It's based on SSP (segmented state patern), which (as far as I understand) means that your store can have 3 distinct states: loading, error or state (data available). It's very similar to GetX's StateMixin feature.Its syntax is pretty neat and it also has an undo/redo function and a persistent storage mixin.To me, it's a good mix between getx/mobx, provider/riverpod and blocks. I think it will work very well as a complement to freezed.https://triple.flutterando.com.br/docs/getting-started/what-is-tripleLet me know what you think about this package.

December 27, 2021 at 03:44PM by Pierre2tm
https://ift.tt/3EBvcNb
New post on /r/flutterdev subreddit:

Publish to App Store TestFlight without a Mac?
I'm developing a free app and am at the point where I need some beta testers to provide real feedback and help me improve my work. I published my app to Google Play closed beta program, but everybody here in the states seems to use an iOS device.However, I do not own a Mac. Has anybody used services such as CodeMagic with success? And furthermore, is it likely that my app will run well on an iOS device, given it works well on Android? I understand Flutter is cross-platform, especially iOS/Android, but I'm not going to be able to test my iOS release before publishing it.

December 27, 2021 at 04:31PM by virtualmnemonic
https://ift.tt/3ExVujJ
New post on /r/flutterdev subreddit:

Dart
I've been trying get started with flutter but the thing that's been holding me down is if I have to learn dart. Do I have to learn dart to get well with flutter? The reason I ask this is because I've heard people saying that no dart knowledge is required in order to start with flutter, even if I know that it is not entirely true.

December 27, 2021 at 06:36PM by Suppository-34613
https://ift.tt/3Hh2pj2
New post on /r/flutterdev subreddit:

What graph/chart library you guys use in your projects?
We have been developing an app which requires 2 separate chart in single screen with tool-tip, with real-time data which comes from a Ble device, with zoom and scroll feature requirement with some more customizations. Our app uses Flutter 2.5.1 but as we tested all available chart libraries in flutter we ran into many issue and had to use mp_chart.The level of features we need are only implemented in mp_chart and other library had many open issue for example charts_flutter. So as my senior preferred, we used mp_chart without null safety, we are running into many problem but we were able to solve them one by one but now this chart has IOS specific flickering issue which make chart un-scrollable which we ran into just now after a weeks of work.so guys what chart library you guys are using and have you faced any issues?Note-: we can not use syncfusion chart because it's a paid library and our client doesn't have budget for that.

December 27, 2021 at 07:45PM by pokaboom1
https://ift.tt/3HcILVa
New post on /r/flutterdev subreddit:

Any analytics for Flutter Desktop (Mac specifically)?
Hi guys, I'm searching for an analytics platform that already works with Flutter desktop, specifically Mac. I only have seen of firebase analytics (which I hate because for deep diving you need big query) So far amplitude and mixpanel looks to have no support Anyone has alternatives?

December 27, 2021 at 08:43PM by jpv1234567
https://ift.tt/3ExRAqP
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