SpringBuilder typedef

SpringBuilder = SpringDescription Function({required double actualTriggerOffset, required IndicatorMode mode, required double offset, required double velocity})

Build spring with IndicatorMode and offset. mode Indicator mode. offset Indicator offset. actualTriggerOffset Indicator actual trigger offset. velocity Indicator actual trigger offset.

Implementation

typedef SpringBuilder = physics.SpringDescription Function({
  required IndicatorMode mode,
  required double offset,
  required double actualTriggerOffset,
  required double velocity,
});