AnimatedModelProvider constructor

AnimatedModelProvider(
  1. AnimatedModel model, {
  2. String? modelId,
  3. Function? onError,
})

Implementation

AnimatedModelProvider(this.model, {String? modelId, Function? onError})
    : modelId = modelId ?? Uuid().v4(),
      _errorHandler = AsyncErrorHandler(onError);