shell_uikit 0.2.0
shell_uikit: ^0.2.0 copied to clipboard
A simple shell ui kit.
example/README.md
Shell UI Kit Examples #
This directory contains examples demonstrating how to use the components provided by the Shell UI Kit package.
Running the Examples #
To run an example, navigate to the shell_uikit
package directory and use the dart run
command:
# Navigate to the shell_uikit package directory
cd packages/shell_uikit
# Run the progress bar example
dart run example/progress_bar_example.dart
# Run the spinner example
dart run example/spinner_example.dart
Available Examples #
Progress Bar Example #
The progress_bar_example.dart
file demonstrates various ways to use the ProgressBar
component:
- Basic progress bar usage
- Custom format with duration and ETA
- Custom appearance (characters and size)
- Using the increment method
- Simulating a download with changing total
- Multiple progress bars running simultaneously
Spinner Example #
The spinner_example.dart
file demonstrates how to use the Spinner
component for indeterminate progress indicators.
Creating Your Own Examples #
Feel free to modify these examples or create new ones to experiment with the components. The examples are designed to showcase the features and flexibility of the Shell UI Kit components.