Doc Waller
ย ยทย Founder of LYFE At Home (@lyfeathome)

How Do I Center A Generated List/Row by and Item/Date

Actions & Logic

I made custom function that is generating children from a "selectedDate" variable. It gives me all the days/dates within that year. WHAT I WANT TO DO, is make the selectedDate land center of the screen when the page loads. The "selectedDate" is a Page State being set my an on-page-load action.

As you can see, it's loading to Monday, January 1st, 2024.

If the selected date is, for example: June 12, 2024. How do I get this row to open up with that date visible in the middle of the page??

If a user wants to write a Journal Entry for today, I don't want them to have to scroll to get there.

Hope this makes sense. Any thoughts/suggestions would be greatly appreciated!

What have you tried so far?

I've been racking my brain with the help of ChatGPT all day, but can't come up with any ideas.

Did you check FlutterFlow's Documentation for this topic?
No
4