input method
Creates a textfield which users can type double values into. You can use
the num?.toInt()
function to turn this into an integer
Can optionally hold a null value
Implementation
double? input({
required String label,
String? description,
double? initialValue,
}) {
return onKnobAdded(
DoubleInputKnob.nullable(
label: label,
initialValue: initialValue,
description: description,
),
);
}