knobs property
override
A mapping from configuration names to ConfigKnob
s that can be used
to configure this component.
Implementation
@override
Map<String, ConfigKnob<dynamic>> get knobs => {
'Direction': directionKnob,
'Input width': inputWidthKnob,
if (directionKnob.value == OneHotToBinary)
'Generate error': generateErrorKnob,
};