I've been working on a feature in my FlutterFlow app where I need to automatically filter a list by today's date as soon as the page loads. Currently, I have successfully implemented the list filtering by date, but it only activates when I manually select a date using a date picker.
Here's what I've achieved so far:
I have a list that can be filtered based on the selected date from a date picker.
The filtering works perfectly when a date is chosen manually.
However, my goal is to make this process automatic when the user navigates to this page. Specifically, I want the list to be filtered by today's date without the user needing to select it from the date picker.
Here's what I am trying to accomplish:
When the page loads, the list should automatically be filtered to show items relevant to the current date (today's date).
The user can still use the date picker to select a different date if needed, but the default should be the current date.
I'm not sure how to trigger the list to automatically filter by today's date on page load. I'd appreciate any guidance, code snippets, or pointers on how to achieve this in FlutterFlow.