RiveAnimation.network constructor Null safety

const RiveAnimation.network(
  1. String name,
  2. {String? artboard,
  3. List<String> animations = const [],
  4. List<String> stateMachines = const [],
  5. BoxFit? fit,
  6. Alignment? alignment,
  7. Widget? placeHolder,
  8. bool antialiasing = true,
  9. List<RiveAnimationController> controllers = const [],
  10. OnInitCallback? onInit}
)

Implementation

const RiveAnimation.network(
  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.network;