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

Full text search with firebase_cloud without using any third party services like algolia.
Can anyone suggest a way to do full text search without using third party services? I have around 100,000 entries so copying them to client app for every search is not a valid option. Splitting sentences into words works for now but it is cluttering the database way too much. Thanks in advance.

August 19, 2020 at 09:41PM by nj_100
https://ift.tt/319b5Wn
New post on Flutter Dev Google group:

Strapi plugin
I am using Strapi for my flutter project, and I just realized that I do not have "plugins" folder inside my "server" folder of my project, I need that folder to get into "User.js" file to change some permissions. Anyone know how to solve this problem? Many thanks.

August 19, 2020 at 11:46PM by Ximui
https://ift.tt/2Yd498I
New post on /r/flutterdev subreddit:

Flutter Water Loading Spinner
https://ift.tt/2CIOjLF

August 19, 2020 at 11:44PM by skryu
https://ift.tt/3iUo58i
New post on /r/flutterdev subreddit:

What is the best practice way to update Provider State from a child widget?
Here is a classic example, you have a list of items on a page and a shopping cart provider at the top of the app. In order to update the Provider state, you can access the the nearest Cart object up the widget tree like so, and call a setter to update the cart. e.g.
Provider.of<Cart>(context, listen: false).addItem(item); 
This is very simple but kind of feels like a hack. Are there other, better ways to achieve this using the Provider package or is this the best way to do it?

August 20, 2020 at 01:37AM by 11010001101001
https://ift.tt/3l2SR0L
New post on /r/flutterdev subreddit:

AndroidAlarmManager & scheduled events
Hello,I have two questions:Is it possible to create alarms like "Every Sunday at 5pm".Is it possible to open the app if that event occursFor my understanding the API allows to call .periodic(seconds) but that's not enough right? If not is there any other plugin or option to solve that?

August 20, 2020 at 01:35AM by KaiN_SC
https://ift.tt/31bKR5o
New post on /r/flutterdev subreddit:

Setup style navigation in Flutter
I want to build setup style navigation in flutter like this example.User navigates to MainPage. MainPage needs some info so it opens PageSteep1 using the code below:dart var result = await Navigator.push(context, MaterialPageRoute( builder: (context) => PageStep1(), )); print(result);Pressing "Next" on PageStep1 pushes PageStep2 to navigationPressing "Finish" on PageStep2 should send result to MainPage (#1).Here's what I'm doing (temporary fix):```dart class PageStep1State { Future<void> next() async { var result = await Navigator.push(context, MaterialPageRoute( builder: (context) => PageStep2(), )); if (result != null) { Navigator.pop(result); } } }class PageStep2State { Future<void> finish() async { Navigator.pop(context, result); } } ```The code above works but there's an issue. It closes pages one by one which takes some time also I don't want user to see each page on stack when pressing "Finish".So, simply I just want to pass data from PageStep2 to MainPage.An example case for the issue:When user taps "Select address" location search page opens after searching the address the next page will open to get address details. When user tap save the result must be sent to main page to update address.Also when user taps "Change details" (to change just details) address details page should be opened and result should be sent back to main page.I know I can solve the issue using a bit "hacky" ways but I want to know is there any clever or correct way to handle this kind of situations.

August 20, 2020 at 02:50AM by zMisir
https://ift.tt/3hpK6eE
New post on /r/flutterdev subreddit:

What's the most repetitive part of developing in Flutter?
The part I dread most and find most repetitive is error handling. Sometimes adding in error handling takes almost as much time as the feature itself. The challenge is that errors need to be context sensitive so it's difficult to apply a single Mixin or error handling behavior to all errors. I also need to consider all the edge cases and many times a page has multiple different error handling behaviors.In-line pagination error, toast connection error, popup error, submit button error to disabled state, upload cancel animation, unknown error... and more!Flutter gives us an amazing developer experience but some things still get repetitive. Are there any painpoints in your development experience?

August 20, 2020 at 06:41AM by Codelessly
https://ift.tt/31e7ztM
New post on Flutter Dev Google group:

Saving Icon and Colors info to Firebase's Firestore
Hello everyone, In my project, I am storing data to Firebase's Firestore using Flutter's Firestore plugin
New post on /r/flutterdev subreddit:

How are you handling no/poor internet connection?
I'm not really sure what the best practice is still regarding this. I obviously have a lot of queries to firebase, how are people handling similar possible errors on each of these?

August 20, 2020 at 10:01AM by 946789987649
https://ift.tt/34ffHMr
New post on /r/flutterdev subreddit:

IconData and LinearGradient into Hive
how do I add IconData, LinearGradients and my own enums in Hive? It says I should create an adapter for it but I don't know where. Does someone know the solution to this problem? Thank you.

August 20, 2020 at 10:35AM by alixfu
https://ift.tt/3hhClYj
New post on /r/flutterdev subreddit:

The Netflix-Clone
Hey! Get your own netflix clone with Flutter and Firebase. Build up a video streaming service and create your own venture.Tap here

August 20, 2020 at 11:29AM by abhishvek
https://ift.tt/3aIsecD
New post on /r/flutterdev subreddit:

TextField iOS [struggle now] [help]
Excuse me, can anyone help, it may be too simple but I'm struggling...​My struggle: behavior of TextField on iOS.​Expected behavior:- one tap: to show toolbarOptions- drag: to move the cursor​Actual behavior:- double tap- long press before able to drag​The first time running Flutter app on iOS, I felt like it was a bug. It was really an unexpected behavior (have to play around a bit to realize).​Question: how to customize those behaviors?​Thanks for your time

August 20, 2020 at 12:57PM by tsdd01
https://ift.tt/3heudIf
New post on /r/flutterdev subreddit:

Face Recognition
Can I use face recognition to search the face in Google, like how the reverse search worksSo I can get the name of the person who is being searchedI know the question is weird but any help will be appreciatedThanks for reading :)

August 20, 2020 at 01:58PM by Pkshri
https://ift.tt/3hgfMDg
New post on /r/flutterdev subreddit:

'Future-proof'
So recently I've been assigned to a project here in my company. The project (Android/iOS) was expected just to be another maintenance which included changes in API, company rebranding. But the changes to be made are breaking changes, the code was not touched for more than a year. Ultimately our team suggested to revamp the whole app since it's easier that way. Our manager suggests that the app would be done in Xamarin.Forms, since the previous app was built using it.I made estimates (purely developer effort) based on the features and the available designs that our UI/UX have done. One thing I noticed is that the designs are heavily influenced by Material Design.Being a mobile developer who've used Xamarin and Flutter, I've made two estimations, one of each framework. I noticed that more efforts will be done in creating custom controls in Xamarin.Forms, not to mention some customizations are needed to be tweaked at the platform level. Although Xamarin.Forms provide the Material Visual to controls (but not all), some out-of-the-box controls are still lacking features such as text fields with user input visual feedback (i.e. error states, input length, helper text), customizable dialogs.I presented my estimations showing this app can be easily done in Flutter compared to Xamarin. But my manager is quite reluctant since I'm the only one in our team who knows Flutter, and he is concerned on how it would be maintained in the long run.

August 20, 2020 at 03:18PM by contrix09
https://ift.tt/327tMsF
New post on Flutter Dev Google group:

Font size and layout
Hi folks, Is there a way to avoid changing the font size and layout in my app when the system font size is changed to a larger or smaller one? If the system font size has been changed to larger, the layout in my app is broken. Thanks, -Sue

August 20, 2020 at 03:26PM by Şükriye Ludwig
https://ift.tt/326YHW4
New post on /r/flutterdev subreddit:

What are the best complete examples of apps for common tasks?
Hi,
I'm searching for a complete example of a mobile app where I could learn the basic concepts as authentication, fetching and filtering the lists of data, correct navigation between views, the right way to work with data so that no excessive requests and memory used. Can anyone suggest a single source for that or I need to crawl the net for every small detail I need? Flutter documentation is quite extensive, but it's not enough to build something for practical use. Examples they have in official documentation is too simplistic, not for something really useful.Also I'd like to know your opinion about the sources you use for learning Flutter:View Poll

August 20, 2020 at 03:29PM by vivimai19
https://ift.tt/3gf2nKv