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 => UnmodifiableMapView({
      'Data Length': dataLengthKnob,
      'Role': roleKnob,
      if (roleKnob.value == SpiRole.sub)
        'Subordinate Bus Input': subBusInKnob,
      if (roleKnob.value == SpiRole.sub) 'Subordinate Reset': subResetKnob,
    });