DFAnimationSprite constructor

DFAnimationSprite({
  1. int stepTime = 200,
  2. bool loop = true,
  3. Color color = const Color(0xFFFFFFFF),
  4. DFSize size = const DFSize(128, 128),
})

创建动画精灵

Implementation

DFAnimationSprite({
  this.stepTime = 200,
  this.loop = true,
  this.color = const Color(0xFFFFFFFF),
  DFSize size = const DFSize(128, 128),
}) : super(position: DFPosition(0, 0), size: size);