selectData method
Future<DateTime?>
selectData({
- required BuildContext context,
- required DateEditingController controller,
override
Implementation
@override
Future<DateTime?> selectData({
required BuildContext context,
required DateEditingController controller,
}) =>
showDatePicker(
context: context,
initialDate: controller.data ?? DateTime.now(),
firstDate: firstDate ?? DateTime(1900),
lastDate: lastDate ?? DateTime(2100),
initialEntryMode: initialEntryMode,
initialDatePickerMode: initialDatePickerMode,
);