Wednesday, 3 July 2019

An interval progress widget for Flutter

flutter tutorial,flutter,flutter tutorial for beginners,flutter app,flutter tutorials,flutter sdk,tutorial,flutter course,learn flutter,flutter tutorial ios,flutter firebase tutorial,flutter widgets,flutter app development tutorial,flutter ios,flutter dart,flutter android,google flutter,flutter sdk tutorial,flutter tutorial app,google flutter tutorial,flutter sqflite tutorial,flutter tutorial deutsch,flutter tutorial android


IntervalProgressBar

An interval progress widget for Flutter.

Depend on it

Add this to your package's pubspec.yaml file:
dependencies:
  intervalprogressbar: ^0.0.2

Features

  • Horizontal
  • Vertical
  • Interval Progress
  • Colorful

Getting Started

Preview Sample Code

Center(
   child: Row(
       mainAxisAlignment: MainAxisAlignment.center,
       children: [10, 29, 18, 27, 16, 15, 24, 3, 20, 10]
           .map<Widget>((i) {
         return Padding(
             padding: EdgeInsets.only(right: 10),
             child: IntervalProgressBar(
                 direction: IntervalProgressDirection.vertical,
                 max: 30,
                 progress: i,
                 intervalSize: 2,
                 size: Size(12, 200),
                 highlightColor: Colors.red,
                 defaultColor: Colors.grey,
                 intervalColor: Colors.transparent,
                 intervalHighlightColor: Colors.transparent,
                 reverse: true,
                 radius: 0));
       }).toList()),
)
Dart

Property

PROPERTYTYPENOTE
directionenumProgressBar's direction, support vertical and horizontal
maxintcount of default blocks
progressintcount of highlight blocks
intervalSizeintsize of interval blocks. when vertical direction, means height, when horizontal direction, means width
sizeSizesize of this widget
highlightColorColorcolor of highlight blocks
defaultColorColorcolor of default blocks
intervalColorColorcolor of default intervals
intervalHighlightColorColorcolor of intervals which between highlight blocks
reversebool
radiusint

GitHub

An interval progress bar for Flutter. — Read More
Latest commit to the master branch on 6-11-2019
Download as zip