Blocks/Package manager

Package manager

A worked example composing a SpinnerModel and a ProgressModel into a realistic multi-step install flow — the kind of layered, stateful UI dart_tui is built for. Study it to see how child components are embedded and advanced through their own updates.

Install the package

Every component ships in the single dart_tui package.

$dart pub add dart_tui
package manager · dart_tui
Package manager demo

The full source lives in example/package_manager.dart. It advances through a list of steps, showing a spinner while each 'downloads' and a progress bar for the overall install — a compact template for any long-running, multi-phase task.

Related