0 purchases
simple progress
Simple Progress #
Progress bar for simple and progress bar with animations
Introduction #
These bars help you create a progress bar for process steps in your application,
such as remaining time to download.
Usage #
The easiest way to make a progress bar is to use SimpleProgressBar:
import 'package:flutter/material.dart';
import 'package:simple_progress/simple_progress.dart';
class ProgressBar extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Row(
children: [
Expanded(
child: SimpleProgressBar(
max: 10,
progress: 5,
heightProgress: 30,
mainColor: mainColor,
backgroundColor: backgroundColor,
),
),
],
);
}
}
copied to clipboard
And you also have the way to create an animated progress bar using SimpleProgressBarAnimated:
import 'package:flutter/material.dart';
import 'package:simple_progress/simple_progress.dart';
class ProgressBar extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Row(
children: [
Expanded(
child: SimpleProgressBarAnimated(
max: 100,
progress: 80,
heightProgress: 30,
),
),
],
);
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.