SpineWidget.file constructor
const
SpineWidget.file(
- String? _skeletonFile,
- String? _atlasFile,
- SpineWidgetController _controller, {
- BoxFit? fit,
- Alignment? alignment,
- BoundsProvider? boundsProvider,
- bool? sizedByBounds,
- 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;