Closed AntoliniMatteo closed 3 years ago
I don't think that this is necessary. You can get the times like this:
TimeRange result = await showTimeRangePicker(
context: context,
);
print("result " + result.toString());
TimeRange contains the start and end times and the result will be null if the user did not click the confirm button.
Can you please add onConfirm(TimeOfDay startTime, TimeOfDay endTime)?