Skip to content
pubscout

console_bars

1.3.0, released 4 weeks ago by an unverified publisher

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

$ flutter pub add console_bars
Source repository

What it does

Allows developers to create and display customizable terminal progress bars with options for descriptions, percentages, timing, and scaling. Automatically handles terminal width detection with fallbacks and cleans up rendered frames.

AI-written summary of version 1.3.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are developing a CLI utility in Dart
  • You need to show visual progress for long-running tasks in a console environment

Skip it when

  • You are building a graphical user interface (GUI) or Flutter mobile app

Strengths

  • Customizable progress bar characters, scale, and width
  • Built-in support for percentage and timing display
  • Handles missing terminal width gracefully by falling back to 80 columns

Weaknesses

  • Limited only to console applications, not usable in graphical applications

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
0
final p = FillingBar(desc: "Loading", total: 1000, time: true, percentage: true);
for (var i = 0; i < 1000; i++) {
  p.increment();
  sleep(Duration(milliseconds: 10));
}

Alternatives

Packages that do the same job and could replace console_bars.