Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.48 KB

README.md

File metadata and controls

54 lines (40 loc) · 1.48 KB

Pretty Progress Indicator

This progress indicator is intended as a stylized alternative to the other progress indicators floating around the web.

Features

Choose from a radial progress indicator or its more traditional linear counterpart.

Getting started

Too use this package in your projects, simply clone this repository and copy the pretty_progress_indicator.dart file to your project.

Usage

Add a Pretty Progress Indicator to your application with one of the provided widgets:

@override
void build(BuildContext context) {
    return Center(
        child: Padding(
            padding: const EdgeInsets.all(24.0),
            child:  PrettyProgressIndicator(
                indicatorType: IndicatorType.radial,
                progress: 0.63,
                barWidth: 20.0,
                textColor: Colors.red.shade200,
                barColors: [
                    Colors.red.shade200,
                    Colors.pink.shade800,
                ],
            ),
        ),
    );
}