inlineProgressBar method
Creates a one-line progress readout that mirrors the active theme.
final bar = terminice.inlineProgressBar('Downloading');
bar.show(current: 0, total: 100);
// ... do work ...
bar.show(current: 50, total: 100);
bar.clear();
The prompt is the label displayed next to the percentage.
Implementation
InlineProgressBar inlineProgressBar(String prompt) {
return InlineProgressBar(prompt, theme: defaultTheme);
}