setCompositionConfig method

Future<void> setCompositionConfig(
  1. int textureId,
  2. Map<String, dynamic> config
)

Changes the output resolution/aspect ratio of the loaded composition in place, preserving textureId, clips, overlays and playback position.

config is a JSON-compatible map produced by TimelineCompositionConfig.toJson.

Implementation

Future<void> setCompositionConfig(
  int textureId,
  Map<String, dynamic> config,
) {
  throw UnimplementedError(
    'setCompositionConfig() has not been implemented.',
  );
}