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