Open nijatmursali opened 3 years ago
Hello,
I'm using this picker for my project, but when I put the minuteInterval: 10 it gives the following error:
minuteInterval: 10
Failed assertion: 'this.initialDateTime.minute % minuteInterval == 0' : initial minute is not divisible by minute interval.
Why this bug occurs?
My code is:
DateTime _dateTime = DateTime.now(); CupertinoDatePicker( mode: CupertinoDatePickerMode.dateAndTime, minuteInterval: 10, initialDateTime: _dateTime, use24hFormat: true, minimumYear: 2021, minimumDate: _dateTime,
Hello,
I'm using this picker for my project, but when I put the
minuteInterval: 10
it gives the following error:Why this bug occurs?
My code is: