dateTimeOrNull method
Creates a text field that can be used to select a date and time and can be initially empty
Implementation
DateTime? dateTimeOrNull({
required String label,
DateTime? initialValue,
String? description,
required DateTime start,
required DateTime end,
}) {
return onKnobAdded(
DateTimeKnob.nullable(
label: label,
initialValue: initialValue,
description: description,
start: start,
end: end,
),
);
}