ProgressTheme constructor

const ProgressTheme({
  1. Color? color,
  2. Color? backgroundColor,
  3. BorderRadiusGeometry? borderRadius,
  4. double? minHeight,
})

Creates a ProgressTheme.

All parameters are optional and can be null to use default values derived from the current theme configuration.

Example:

const ProgressTheme(
  color: Colors.blue,
  backgroundColor: Colors.grey,
  borderRadius: BorderRadius.circular(4.0),
  minHeight: 6.0,
);

Implementation

const ProgressTheme({
  this.color,
  this.backgroundColor,
  this.borderRadius,
  this.minHeight,
});