When i work with DateTime i receive the following params.
I/flutter (25000): startTime: 13:46
I/flutter (25000): endTime: 13:49
I manage to parse the date with this.
DateFormat dateFormat = new DateFormat.Hm();
staticStartDate = dateFormat.parse(widget.startTime);
however the result date ends up like this:
I/flutter (25000): 1970-01-01 13:46:00.000
when the result should be.
I/flutter (25000): 2020-09-26 13:46:00.000
Anyone knows how to parse the time but with the current date?