createScalarPannedSource method Null safety

ScalarPannedSource createScalarPannedSource(
  1. {PannerStrategy panningStrategy = PannerStrategy.delegate,
  2. double panningScalar = 0.0}
)

Create a panned source with a scalar.

Implementation

ScalarPannedSource createScalarPannedSource({
  final PannerStrategy panningStrategy = PannerStrategy.delegate,
  final double panningScalar = 0.0,
}) =>
    ScalarPannedSource(
      this,
      initialPanningScalar: panningScalar,
      panningStrategy: panningStrategy,
    );