ImageFrameAnimation constructor

ImageFrameAnimation({
  1. Key? key,
  2. required FrameController frameController,
  3. required Duration duration,
})

Implementation

ImageFrameAnimation(
    {Key? key, required this.frameController, required this.duration})
    : assert(frameController.images.isNotEmpty,
          "请在加载此组件前初始化FrameController,并等待load的调用"),
      super(key: key);