progressColor property

Color? progressColor
getter/setter pair

Use this property to customize the color of the progress bar.

This property only takes effect when the alertType is set to StylishDialogType.PROGRESS and the style is set to DefaultStyle. By default, the progress bar will use the primary color of the current theme. You can use this property to override that and specify a custom color.

StylishDialog(
  alertType: StylishDialogType.PROGRESS,
  progressColor: Colors.red,
  // other properties...
)

Implementation

Color? progressColor;