arc_loader
A customizable animated arc-shaped loader for Flutter. Supports multiple styles, speeds, colors, and arc configurations.
๐ธ Preview
| Simple Arc | Complete Arc |
|---|---|
![]() |
![]() |
โจ Features
- ๐ Beautiful arc-based loader animation
- ๐จ Custom colors, width, spacing, and speed
- ๐ Continuous rotation animation
- ๐งน Two styles: Simple and Complete arcs
๐ Installation
Add this to your pubspec.yaml:
dependencies:
arc_loader: ^0.0.1
Then run:
flutter pub get
๐ก Usage
import 'package:arc_loader/arc_loader.dart';
ArcLoader(
arcColors: [Colors.blue, Colors.orange],
arcWidth: 4.0,
arcMargin: 8.0,
innerGap: 2.0,
speed: ArcSpeed.fast,
style: ArcStyle.completeArc,
)
๐ฏ Available Options
| Property | Type | Description |
|---|---|---|
arcColors |
List<Color> |
Colors for each arc segment |
arcWidth |
double |
Width of the arc stroke |
arcMargin |
double |
Margin from the edge of the container |
innerGap |
double |
Gap between outer and inner arcs |
speed |
ArcSpeed |
Rotation speed (slow, medium, fast) |
style |
ArcStyle |
Arc style (simpleArc, completeArc) |
๐ License
This package is licensed under the MIT License. See the LICENSE file for more information.

