modeKnob property

ChoiceConfigKnob<StaticOrRuntimeIntMode> modeKnob
final

Selects whether the control is static or runtime-configurable.

Implementation

final ChoiceConfigKnob<StaticOrRuntimeIntMode> modeKnob = ChoiceConfigKnob(
  StaticOrRuntimeIntMode.values,
  value: StaticOrRuntimeIntMode.staticValue,
  choiceLabels: const {
    StaticOrRuntimeIntMode.staticValue: 'Static value',
    StaticOrRuntimeIntMode.runtime: 'Runtime input',
  },
);