FlareActorAnimation constructor

FlareActorAnimation(
  1. String? fileName, {
  2. String? boundsNode,
  3. String? animation,
  4. BoxFit fit = BoxFit.contain,
  5. Alignment alignment = Alignment.center,
  6. bool isPaused = false,
  7. bool snapToEnd = false,
  8. FlareController? controller,
  9. FlareCompletedCallback? callback,
  10. Color? color,
  11. bool shouldClip = true,
  12. bool sizeFromArtboard = false,
  13. String? artboard,
  14. bool useAntialias = true,
})

Implementation

FlareActorAnimation(
  this.fileName, {
  this.boundsNode,
  this.animation,
  this.fit = BoxFit.contain,
  this.alignment = Alignment.center,
  this.isPaused = false,
  this.snapToEnd = false,
  this.controller,
  this.callback,
  this.color,
  this.shouldClip = true,
  this.sizeFromArtboard = false,
  this.artboard,
  this.useAntialias = true,
}) : flareProvider = null;