ProgressBarStyle constructor

ProgressBarStyle({
  1. BarStyle? bar,
  2. Widget? fullScreen,
  3. Widget? fullScreenExit,
  4. Color? backgroundColor,
  5. double paddingBeetwen = 12,
})

It is the style that will have all the icons and elements of the progress bar

Implementation

ProgressBarStyle({
  BarStyle? bar,
  Widget? fullScreen,
  Widget? fullScreenExit,
  Color? backgroundColor,
  this.paddingBeetwen = 12,
})  : this.bar = bar ?? BarStyle.progress(),
      this.backgroundColor = backgroundColor ?? Colors.black.withOpacity(0.36),
      this.fullScreen = fullScreen ??
          Icon(
            Icons.fullscreen_outlined,
            color: Colors.white,
            size: 24,
          ),
      this.fullScreenExit = fullScreenExit ??
          Icon(
            Icons.fullscreen_exit_outlined,
            color: Colors.white,
            size: 24,
          );