setBulletTapCallBack method

void setBulletTapCallBack(
  1. dynamic cb(
    1. FlutterDanmakuBulletModel
    )
)

设置子弹单击事件

Implementation

void setBulletTapCallBack(Function(FlutterDanmakuBulletModel) cb) {
  FlutterDanmakuConfig.bulletTapCallBack = cb;
}