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,
}) : identifier = Colors.transparent,
color = color ?? Colors.white,
secondBackground = Colors.transparent,
background = background ?? Colors.white.withOpacity(0.2),
borderRadius =
borderRadius ?? const BorderRadius.all(Radius.circular(5)),
identifierWidth = 0.0;