SpriteStudioStateView constructor
const
SpriteStudioStateView({
- Key? key,
- required SpriteStudioPlayer player,
- required WidgetStatesController statesController,
- String? animation,
- Map<
SsUiState, SsUiClip> clips = const {}, - bool? reducedMotion,
- String? semanticLabel,
- double? width,
- double? height,
- BoxFit fit = BoxFit.contain,
- AlignmentGeometry alignment = Alignment.center,
- Rect? frame,
Implementation
const SpriteStudioStateView({
super.key,
required this.player,
required this.statesController,
this.animation,
this.clips = const {},
this.reducedMotion,
this.semanticLabel,
this.width,
this.height,
this.fit = BoxFit.contain,
this.alignment = Alignment.center,
this.frame,
});