knobs property

  1. @override
Map<String, ConfigKnob> get 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 => {
      ...super.knobs,
      'Reset Value': resetValueKnob,
      'Clock Gating': clockGatingKnob,
      if (clockGatingKnob.value) ...{
        'Clock Gating Partition Index': clockGatingPartitionIndexKnob,
        'Gate Toggles': gateTogglesKnob,
      },
    };