BarStyle.volume constructor
BarStyle.volume({
- double width = 5,
- double height = 120,
- Color? color,
- Color? background,
- BorderRadius? borderRadius,
The borderRadius that the VolumeBar will have
The background that the VolumeBar will have
The color of the active volume that the VolumeBar will have
The width and height are the Size that the VolumeBar will have
Implementation
BarStyle.volume({
this.width = 5,
this.height = 120,
Color? color,
Color? background,
BorderRadius? borderRadius,
}) : this.identifier = Colors.transparent,
this.color = color ?? Colors.white,
this.secondBackground = Colors.transparent,
this.background = background ?? Colors.white.withOpacity(0.2),
this.borderRadius = borderRadius ?? EdgeRadius.all(5.0),
this.identifierWidth = 0.0;