搜索插件、代码仓与 APP 分类

flutter_rounded_progress_bar 封面
插件详情v0.3.2

flutter_rounded_progress_bar

在 Flutter 中可自定义颜色和边框的圆角进度条。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
598
喜欢数
92
Pub 分数
140

安装插件

flutter pub add flutter_rounded_progress_bar

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

一个 Flutter 包,提供可自定义的圆角进度条,支持颜色和边框调整。它旨在通过流畅、现代的进度指示器增强用户界面,适用于加载状态、任务完成或任何需要视觉反馈的场景。该组件可在所有主要平台(包括 Android、iOS、Web、macOS、Windows 和 Linux)上运行,确保外观和行为的一致性。其简洁性和灵活性使其成为开发者寻找优雅替代标准线性进度条的理想选择。

适合场景

  • 加载指示器
  • 任务完成跟踪
  • 表单进度可视化
  • 仪表板指标
  • 引导流程

主要特点

  • 可自定义颜色
  • 可调节的边框圆角
  • 平台无关设计
  • 平滑动画
  • 轻松集成
  • 可配置的描边宽度

适合对象

  • 寻求现代美学的UI设计师
  • 开发跨平台应用的开发者
  • 需要视觉进度反馈的应用程序
  • 简单但精致的加载屏幕
  • 依赖项最少的项目

使用建议

  • 仅限基本进度功能
  • 无内置文本标签
  • 需要手动处理动态更新
  • 不适合复杂的进度场景
  • 不支持渐变填充

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Flutter Rounded Progressbar

Custom Progressbar

Screenshot

Installing

add dependency in pubspec.yaml

dependencies:
  flutter_rounded_progress_bar: 0.2.0

Usage

simple rounded progress bar.

RoundedProgressBar(
    childLeft: Text("$percent%",
        style: TextStyle(color: Colors.white)),
    percent: percent,
    theme: RoundedProgressBarTheme.green)

Screenshot

Structure

Support Widget 3 position as childCenter , childLeft , childRight Screenshot

customize

use RoundedProgressBarStyle class

RoundedProgressBar(
    style: RoundedProgressBarStyle(
        widthShadow: 30, colorBorder: Colors.blue[200]),
    percent: percent,
    reverse: true,
),
RoundedProgressBar(
    style: RoundedProgressBarStyle(
        borderWidth: 0, 
        widthShadow: 0),
    margin: EdgeInsets.symmetric(vertical: 16),
    borderRadius: BorderRadius.circular(24),
    percent: percent,
),       

Screenshot

duration animation.

RoundedProgressBar(
    milliseconds:1000,
     percent: percent,
     theme: RoundedProgressBarTheme.yellow,
     borderRadius: BorderRadius.circular(24)),

Screenshot

Theme

RoundedProgressBarTheme.blue, 
RoundedProgressBarTheme.red
RoundedProgressBarTheme.green
RoundedProgressBarTheme.purple
RoundedProgressBarTheme.yellow 
RoundedProgressBarTheme.midnight

Icon Rounded Progressbar

Simple using icon.

IconRoundedProgressBar(
    icon: Padding(
        padding: EdgeInsets.all(8), child: Icon(Icons.person)),
    theme: RoundedProgressBarTheme.green,
    margin: EdgeInsets.symmetric(vertical: 16),
    borderRadius: BorderRadius.circular(6),
    percent: percent,
),

Screenshot

Custom background and icon.

IconRoundedProgressBar(
    widthIconSection: 70,
    icon: Padding(
        padding: EdgeInsets.all(8),
        child: Icon(Icons.airline_seat_flat, color: Colors.white)),
    style: RoundedProgressBarStyle(
        colorBackgroundIcon: Color(0xffc0392b),
        colorProgress: Color(0xffe74c3c),
        colorProgressDark: Color(0xffc0392b),
        colorBorder: Color(0xff2c3e50),
        backgroundProgress: Color(0xff4a627a),
        borderWidth: 4,
        widthShadow: 6),
    margin: EdgeInsets.symmetric(vertical: 16),
    borderRadius: BorderRadius.circular(6),
    percent: percent,
),

Screenshot

所属分类

源码仓库

使用此插件的项目