BarrageWallController.withBarrages constructor

BarrageWallController.withBarrages(
  1. List<Bullet>? bullets, {
  2. ValueNotifier<BarrageValue>? timelineNotifier,
})

Implementation

BarrageWallController.withBarrages(List<Bullet>? bullets,
    {this.timelineNotifier})
    : super(BarrageWallValue.fromList(bullets ?? const []));