SpriteStudioStateView constructor

const SpriteStudioStateView({
  1. Key? key,
  2. required SpriteStudioPlayer player,
  3. required WidgetStatesController statesController,
  4. String? animation,
  5. Map<SsUiState, SsUiClip> clips = const {},
  6. bool? reducedMotion,
  7. String? semanticLabel,
  8. double? width,
  9. double? height,
  10. BoxFit fit = BoxFit.contain,
  11. AlignmentGeometry alignment = Alignment.center,
  12. 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,
});