Search packages, repositories and app categories

progress_border cover
Package detailsv0.1.5

progress_border

A BoxBorder like Border but draw part of the border according to the progress, supported circle, rect, rectangle.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
6.3K
Likes
32
Pub points
160

Install package

flutter pub add progress_border

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

ProgressBorder is a Flutter package that extends BoxBorder to draw borders with customizable progress, supporting circular, rectangular, and square shapes. It enables visually dynamic borders that fill incrementally based on a progress value, ideal for loading indicators or progress visualization. The package integrates seamlessly into existing UIs and works across all major platforms including Android, iOS, Web, macOS, Windows, and Linux. It's lightweight and designed for developers seeking animated border effects without complex custom painting.

Use cases

  • Loading indicators
  • Progress visualization
  • Animated UI elements
  • Customizable border effects
  • Interactive form validation

Key features

  • Supports circular and rectangular borders
  • Progress-driven border filling
  • Cross-platform compatibility
  • Easy integration with BoxBorder
  • Customizable stroke width and color

Suitable for

  • UI designers seeking visual feedback
  • Developers building loading animations
  • Apps requiring progress-based visuals
  • Flutter beginners exploring custom painting
  • Projects with interactive or animated interfaces

Considerations

  • Requires manual progress updates
  • Limited to border-only rendering
  • Not suitable for complex animations
  • May impact performance with many instances
  • Depends on correct widget hierarchy for display

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

ProgressBorder

pub package

A BoxBorder like Border but draw part of the border according to the progress, supported circle, rect, rectangle.

Features

  • ✅ Draw part of border
  • ✅ Supported circle, reactangle
  • ✅ Background Border under progress border
  • 🚧 PathMetric cache
  • 🚧 Custom Paint

Preview

ProgressBorder
toast

Getting started

flutter pub add progress_border

Usage

Container(
    width: 100,
    height: 100,
    decoration: BoxDecoration(
        color: Colors.blue.withAlpha(100),
        border: ProgressBorder.all(
        color: Colors.blue,
        width: 8,
        progress: animationController.value,
        ),
    ),
);

More usage see /example folder.

Additional information

To use this library in versions lower than Flutter 3.7, please specify the version number as 0.0.x.

Categories

Source repository

Projects using this package