console_bars 1.0.3 copy "console_bars: ^1.0.3" to clipboard
console_bars: ^1.0.3 copied to clipboard

outdated

A package for creating a customizable progress bar in console easily.

Pub Version (including pre-releases) GitHub last commit GitHub language count GitHub top language

A package for creating an awesome progress bar in console.

Usage #

Options:

  • total : Total number of steps
  • desc : Simple text shown before the bar (optional)
  • space : Character denoting empty space (default : ' ')
  • fill : Character denoting filled space (default : '█')
  • time : Toggle timing mode (default : false)
  • percentage : Toggle percentage display (default : false)
  • scale : Width of the bar (between: 0 and 1, default: 0.5)

Code:

final p = FillingBar(desc: "Loading", total: 1000, time: true, percentage:true);
  for (var i = 0; i < 1000; i++) {
    p.increment();
    sleep(Duration(milliseconds: 10));
  }

Result:

Animation

Loading : ████████████████████████████████████████.................... 673/1000 67.3% [ 0:00:13.28 / 0:00:06.45 ]
23
likes
0
pub points
82%
popularity

Publisher

unverified uploader

A package for creating a customizable progress bar in console easily.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on console_bars