shape_progress_bar 1.0.0 copy "shape_progress_bar: ^1.0.0" to clipboard
shape_progress_bar: ^1.0.0 copied to clipboard

Flutter package to animate the borders of boxes in fun shapes like stars, rectangles, and more — with glowing gradients and looping support.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'dart:math';
import 'package:shape_progress_bar/shape_progress_bar.dart';

void main() {
  runApp(MaterialApp(
    home: Scaffold(
      backgroundColor: Colors.black,
      body: Center(
        child: RectangleBox(
          width: 150,
          height: 150,
          duration: Duration(seconds: 10),
          borderColor: Colors.white,
          borderWidth: 12,
          startCorner: BorderCorner.topRight,
          borderRadius: 12,
          loop: true,
          useGradient: true,
          gradientColors: [Colors.cyan, Colors.purple],
          glowColor: Colors.orange,
          child: Center(
            child: Text(
              "Playing...",
              style: TextStyle(color: Colors.white, fontSize: 22),
            ),
          ),
        ),
      ),
    ),
  ));
}
7
likes
0
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter package to animate the borders of boxes in fun shapes like stars, rectangles, and more — with glowing gradients and looping support.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on shape_progress_bar