SpineWidget.file constructor

const SpineWidget.file(
  1. String? _skeletonFile,
  2. String? _atlasFile,
  3. SpineWidgetController _controller, {
  4. BoxFit? fit,
  5. Alignment? alignment,
  6. BoundsProvider? boundsProvider,
  7. bool? sizedByBounds,
  8. Key? key,
})

Implementation

const SpineWidget.file(this._skeletonFile, this._atlasFile, this._controller, {BoxFit? fit, Alignment? alignment, BoundsProvider? boundsProvider, bool? sizedByBounds, super.key})
    : _assetType = AssetType.file,
      _bundle = null,
      _fit = fit ?? BoxFit.contain,
      _alignment = alignment ?? Alignment.center,
      _boundsProvider = boundsProvider ?? const SetupPoseBounds(),
      _sizedByBounds = sizedByBounds ?? false,
      _drawable = null;