booleanOrNull method
Creates a checkbox that can be toggled on and off and optionally hold a null value
Implementation
bool? booleanOrNull({
required String label,
String? description,
bool? initialValue,
}) {
return onKnobAdded(
BooleanKnob.nullable(
label: label,
description: description,
initialValue: initialValue,
),
);
}