arc_loader

Pub Version License: MIT

A customizable animated arc-shaped loader for Flutter. Supports multiple styles, speeds, colors, and arc configurations.


๐Ÿ“ธ Preview

Simple Arc Complete Arc
Simple Complete

โœจ 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.

Libraries

arc_loader