offsetX property

double get offsetX

子弹的x轴位置

Implementation

double get offsetX => bulletType == FlutterDanmakuBulletType.scroll
    ? _runDistance - bulletSize.width
    : FlutterDanmakuConfig.areaSize.width / 2 - (bulletSize.width / 2);