input method

double? input({
  1. required String label,
  2. String? description,
  3. double? initialValue,
})

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,
    ),
  );
}