Progress constructor

Progress({
  1. required int length,
  2. double size = 1.0,
  3. String leftPrompt(
    1. int
    ) = _prompt,
  4. String rightPrompt(
    1. int
    ) = _prompt,
})

Constructs a Progress component with the default theme.

Implementation

Progress({
  required this.length,
  this.size = 1.0,
  this.leftPrompt = _prompt,
  this.rightPrompt = _prompt,
}) : theme = Theme.defaultTheme;