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