Description:
In rive_native, the following code successfully sets the value for rive.NumberInput, and I can print the correct value of ctrl?.value using debugPrint. However, the Rive animation does not change accordingly. The same Rive animation file works correctly in rive_common.
void changeControl(String name, dynamic value, {String? nestedName}) {
if (value is num) {
rive.NumberInput? ctrl = stateMachineController?.number(name, path: nestedName);
ctrl?.value = value.toDouble();
debugPrint(">>> Rive Control: $name ${ctrl?.value}");
}
}
Is there something I am missing or any additional steps required to make the animation update in rive_native?