Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/russbiggs/progresso
Linear progress bar for Flutter
https://github.com/russbiggs/progresso
dart flutter progress-bar
Last synced: about 1 month ago
JSON representation
Linear progress bar for Flutter
- Host: GitHub
- URL: https://github.com/russbiggs/progresso
- Owner: russbiggs
- License: bsd-3-clause
- Created: 2021-02-28T03:32:24.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-31T20:12:17.000Z (almost 4 years ago)
- Last Synced: 2025-01-11T18:44:14.027Z (about 1 month ago)
- Topics: dart, flutter, progress-bar
- Language: Dart
- Homepage: https://pub.dev/packages/progresso
- Size: 116 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Progresso
A linear progress bar for Flutter.
## Getting Started
Add to pubspec.yaml
```yaml
progresso:
```import in your flutter project
```dart
import 'package:progresso/progresso.dart';
```## Features
In its simplest form Progresso takes a progress parameter (0.0 to 1.0)

```dart
Progresso(progress: 0.5);
```You can also configure the color

```dart
Progresso(
progress: 0.5,
progressColor: Colors.red,
backgroundColor: Colors.blue
);
```Progresso can even start at a value that is not zero!

```dart
Progresso(start: 0.3, progress: 0.5);
```Give the progress bar different stroke caps:

```dart
Progresso(
progress: 0.5,
progressStrokeCap: StrokeCap.round,
backgroundStrokeCap: StrokeCap.round
);
```Give a List of points to show points along the progress bar

```dart
Progresso(progress: 0.5, points: [0.2, 0.4]);
```