Snake Border Loading

A customizable Flutter widget that adds an animated snake-style border around a child widget to indicate loading.

Features

  • Smooth, colorful, snake-like animated border.
  • Fully customizable animation duration, thickness, color, and length.
  • Automatically starts and stops based on the isLoading flag.

Preview

Installation

Add this package to your pubspec.yaml dependencies:

dependencies:
  snake_border_loading:
    path: https://github.com/nodirbeksoliyev0811/snake_border_loading.git

or

dependencies:
  snake_border_loading: {last_version}

Terminal command:

flutter pub add snake_border_loading