DiveMeterPreview constructor

DiveMeterPreview({
  1. DiveTextureController? controller,
  2. required DiveAudioMeterSource volumeMeter,
  3. Key? key,
  4. double? aspectRatio,
  5. bool meterVertical = false,
})

Implementation

DiveMeterPreview({
  DiveTextureController? controller,
  required this.volumeMeter,
  Key? key,
  double? aspectRatio,
  this.meterVertical = false,
}) : super(controller: controller, key: key, aspectRatio: aspectRatio);