createModule method
override
Creates a Module instance as configured.
Implementation
@override
Module createModule() {
final rotateConstructor = directionKnob.value == RotateDirection.left
? RotateLeft.new
: RotateRight.new;
return rotateConstructor(
Logic(width: originalWidthKnob.value),
Logic(width: rotateWidthKnob.value),
maxAmount: maxAmountKnob.value,
);
}