knobs property

  1. @override
Map<String, ConfigKnob> knobs
override

A mapping from configuration names to ConfigKnobs 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,
    };