RiveAnimation.asset constructor

const RiveAnimation.asset(
  1. String? asset, {
  2. BoxFit? fit,
  3. Key? key,
})

Implementation

const RiveAnimation.asset(this.asset, {this.fit, Key? key}) : super(key: key);