FlareActor.bundle constructor
FlareActor.bundle(
- String name, {
- String? boundsNode,
- String? animation,
- BoxFit fit = BoxFit.contain,
- Alignment alignment = Alignment.center,
- bool isPaused = false,
- bool snapToEnd = false,
- FlareController? controller,
- FlareCompletedCallback? callback,
- Color? color,
- bool shouldClip = true,
- bool sizeFromArtboard = false,
- String? artboard,
- bool antialias = true,
- AssetBundle? bundle,
Implementation
FlareActor.bundle(
String name, {
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.antialias = true,
AssetBundle? bundle,
}) : filename = null,
flareProvider = AssetFlare(bundle: bundle ?? rootBundle, name: name);