flutter_dot_loader library

A high-performance, zero-dependency dot-matrix loading animation library for Flutter.

Overview

The library provides three widgets:

  • DotLoader — a simplified, AI-friendly version of the matrix loader.
  • MatrixLoader — a dot-matrix grid animatable with 60+ patterns.
  • TriangleLoader — a geometric grid of equilateral triangles.

Getting Started

import 'package:flutter_dot_loader/flutter_dot_loader.dart';

// Easiest usage (AI-friendly)
DotLoader(color: Colors.blue)

// Or full control with MatrixLoader
const MatrixLoader(
  columns: 5,
  rows: 5,
  activeColor: Colors.cyanAccent,
  pattern: MatrixPattern.vortexSpin,
)

Classes

DotLoader
A simplified, AI-friendly version of MatrixLoader.
MatrixData
Utility class to parse and generate compressed string representations of matrix frames, useful for saving, loading, or exporting animations from the Dot Matrix Studio.
MatrixLoader
A high-performance, zero-dependency dot-matrix loading animation widget.
MatrixText
A utility to generate frame data and scrolling animations from text strings for use with MatrixLoader and MatrixPattern.custom.
TriangleLoader
A loading animation widget that renders a tessellated grid of equilateral triangles, each scaled and tinted by a radial wave emanating from the center.

Enums

MatrixPattern
The mathematical animation pattern used to drive the MatrixLoader.
MatrixPlayback
The animation playback mode for MatrixLoader.
MatrixShape
The geometric shape used to mask (clip) the dot grid in a MatrixLoader.