A simple Flutter widget that demonstrates different ways to use CircularProgressIndicator for showing loading and progress in your app.
-
Clone the repository:
git clone https://github.com/dmutoni/widget_presentation cd widget_presentation -
Get dependencies:
flutter pub get
-
Run the app:
flutter run
-
Determinate & Indeterminate Modes: The widget shows both determinate (progress value provided) and indeterminate (spins continuously) progress indicators.
-
Customization: Demonstrates changing color, size, stroke width, and adding labels inside the progress indicator.
-
Integration with Async Data: Shows how to display a loading spinner while waiting for a
Futureto complete usingFutureBuilder.
This implementation is original, created for class demo purposes. No tutorial code copied.
