You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`
LateInitializationError: Field 'selectedFirstDateTime' has not been initialized.
When the exception was thrown, this was the stack:
#0 _BottomPickerState.selectedFirstDateTime (package:bottom_picker/bottom_picker.dart) #1 _BottomPickerState.build. (package:bottom_picker/bottom_picker.dart:565:29) #2 BottomPickerButton.build. (package:bottom_picker/widgets/bottom_picker_button.dart:32:17)
`
The text was updated successfully, but these errors were encountered:
void _datePicker(BuildContext context) { BottomPicker.range( title: 'Select Date', titleStyle: const TextStyle( fontWeight: FontWeight.bold, fontSize: 15, color: Colors.black, ), buttonSingleColor: Colors.black, dismissable: true, initialFirstDate: _startDate, initialSecondDate: _endDate, onSubmitPressed: (startDate, endDate) { print(startDate); print(endDate); }, ).show(context); }
`
LateInitializationError: Field 'selectedFirstDateTime' has not been initialized.
When the exception was thrown, this was the stack:
#0 _BottomPickerState.selectedFirstDateTime (package:bottom_picker/bottom_picker.dart)
#1 _BottomPickerState.build. (package:bottom_picker/bottom_picker.dart:565:29)
#2 BottomPickerButton.build. (package:bottom_picker/widgets/bottom_picker_button.dart:32:17)
`
The text was updated successfully, but these errors were encountered: