twoDigit property
to enable two digit format in time picker sheet, the default value is false. When this format enabled the return value/result is still using one digit. Ex: you select 03:45 then the result would be 3:45. so you don't need to reformat or mapping anything on the screen.
Implementation
final bool twoDigit;