scale : Scale of the bar relative to width (between: 0 and 1, default: 0.5, Irrelavant if width is specified)
width : Width of the bar (If not specified, it will be automatically calculated using the terminal width and scale)
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));
}