setCurrentSceneDuration method

Future<void> setCurrentSceneDuration(
  1. int transitionDuration
)

Sets the duration of the current scene transition, if it is not fixed.

  • Complexity Rating: 2/5
  • Latest Supported RPC Version: 1
  • Added in v5.0.0

transitionDuration in milliseconds, >= 50, <= 20000

Implementation

Future<void> setCurrentSceneDuration(int transitionDuration) async =>
    await setCurrentSceneTransitionDuration(transitionDuration);