VisualizerConfig class

Global, customizable configuration for all visualizers.

Constructors

VisualizerConfig({List<Color> colors = const [Color(0xFF00EFFF), Color(0xFF0077FF), Color(0xFF8A2BE2)], double thickness = 10.0, double glow = 2.0, double radius = 12.0, double intensity = 0.95, double smoothing = 0.80, double peakDecay = 0.25, String frequencyMap = "log"})
const

Properties

colors List<Color>
Color gradient used by most visualizers
final
frequencyMap String
Frequency mapping: "linear", "log", "exp"
final
glow double
Glow radius, applied via MaskFilter
final
hashCode int
The hash code for this object.
no setterinherited
intensity double
Vertical scaling factor for intensity
final
peakDecay double
Peak hold decay speed
final
radius double
Corner radius (bars, shapes)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
smoothing double
FFT smoothing factor (0 = raw, 0.9 = smooth)
final
thickness double
Width of bars/lines/etc.
final

Methods

copyWith({List<Color>? colors, double? thickness, double? glow, double? radius, double? intensity, double? smoothing, double? peakDecay, String? frequencyMap}) VisualizerConfig
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited