RiveAnimation.asset constructor Null safety
Creates a new RiveAnimation from an asset bundle
Implementation
const RiveAnimation.asset(
this.name, {
this.artboard,
this.animations = const [],
this.stateMachines = const [],
this.fit,
this.alignment,
this.placeHolder,
this.antialiasing = true,
this.controllers = const [],
this.onInit,
}) : src = _Source.asset;