is it possible to have different Date/Time picker based on device OS on the same action?

Actions & Logic
Resolved

I am trying to add a date/time picker to the same button, and I want to have a different style based on the OS. Is it possible to have a different Date/Time picker based on the device OS on the same action?

What have you tried so far?

I tried adding a conditional action that checks if the device is an iOS device else render the date/time picker with the Cupertion-style toggle off. Still, I

get this error "Cannot have multiple Date/Time Picker actions for the same widget.". It does not have a massive impact but I thought it would be nice. Also I noticed that the only "Time" picker does not have a confirmation button, is this just in test mode or it just simply does not have one?

Did you check FlutterFlow's Documentation for this topic?
Yes
1
2 replies