DanmakuController constructor

DanmakuController({
  1. required dynamic onAddDanmaku(
    1. DanmakuContentItem
    ),
  2. required dynamic onUpdateOption(
    1. DanmakuOption
    ),
  3. required Function onPause,
  4. required Function onResume,
  5. required Function onClear,
})

Implementation

DanmakuController({
  required this.onAddDanmaku,
  required this.onUpdateOption,
  required this.onPause,
  required this.onResume,
  required this.onClear,
});