stringOrNull method
Creates a textfield that can be typed in and optionally hold a null value
Implementation
String? stringOrNull({
required String label,
String? description,
String? initialValue,
$int? maxLines = 1,
}) {
return onKnobAdded(
StringKnob.nullable(
label: label,
initialValue: initialValue,
description: description,
maxLines: maxLines,
),
);
}