Creates a new TimePicker widget with the given format strings.
| format_12 |
The string format of how to display the time when in 12h mode. |
| format_24 |
The string format of how to display the time when in 24h mode. |