UVisualizer constructor

const UVisualizer({
  1. required UMediaController controller,
  2. Key? key,
  3. UVisualizerStyle style = UVisualizerStyle.bars,
  4. int barCount = 48,
  5. Color? color,
  6. List<Color>? gradient,
  7. double height = 120,
  8. double spacing = 2,
  9. double borderRadius = 2,
  10. double smoothing = 0.35,
})

Implementation

const UVisualizer({
  required this.controller,
  super.key,
  this.style = UVisualizerStyle.bars,
  this.barCount = 48,
  this.color,
  this.gradient,
  this.height = 120,
  this.spacing = 2,
  this.borderRadius = 2,
  this.smoothing = 0.35,
});