Closed suthura closed 3 years ago
Sorry, I cannot reproduce your error.
The resulting TimeRange can of course be null (if the user presses cancel) or goes back via the back button etc.
Just call it like:
TimeRange? result = await showTimeRangePicker(
context: context,
);
fixed thank you for the support
When I click the cancel button it gives
error. I went through the plugin code and found that your cancel method is also requesting TimeRange
Please check this out and waiting for a update. Thank you.