You can use the Date/Time Picker Action to bring up a widget that lets users select a specific Date or Date & Time. The selected value can also be accessed using a variable that lets you use it elsewhere in the app.
Let's take a look at the different properties of the Date/Time Picker Action:
Date/Time Picker Type: Use this property to select whether you want to show only a Date picker or Date+Time picker.
Default Date/Time: The initial value of the Date/Time picker widget can be set using this property. As this action is triggered the Date/Time picker will show you this default value. Preferably the current date/time is used as the default value but you can customize it and set it from a different variable or define a specific value manually.
Allow Past Date/Time: Check this property to allow users to select a Date/Time before the default value. Keeping this unchecked will allow users to select any Date/Time on or after the default value.
Defining the Action
Go to your project page on FlutterFlow and follow the steps below to define a Navigate Action to any widget.
Select the widget (like a Button or an IconButton) on which you want to set the Action.