string method
Creates a textfield that can be typed in
Implementation
String string({
required String label,
String? description,
String initialValue = '',
$int? maxLines = 1,
}) {
return onKnobAdded(
StringKnob(
label: label,
initialValue: initialValue,
description: description,
maxLines: maxLines,
),
)!;
}