Skip to content
pubscout

animated_loading_border

0.0.2, released 3 years ago by an unverified publisher

Shows an animated border as a placeholder while loading widgets.

WASM-ready
$ flutter pub add animated_loading_border
Source repository

What it does

Wraps a child widget to display an animated loading border placeholder around it. Features customizable duration, corner radius, border width, colors, and padding.

AI-written summary of version 0.0.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to show a loading placeholder with an animated border around content.
  • You need an alternative to standard shimmering placeholders for widget borders.

Skip it when

  • You require a full text or rectangular block skeleton loader like shimmer.
  • You need non-border loading indicators like spinners or circular progress bars.

Strengths

  • Easy customization of border color, width, and corner radius.
  • Provides an AnimationController callback for fine-grained control.
  • Supports random starting positions and transparent trailing borders.

Weaknesses

  • Limited to border animations rather than full-surface skeleton placeholders.
  • Very minimal feature set and documentation beyond basic properties.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
AnimatedLoadingBorder(
  child: Container(),
  controller: (animationController) {
     // Here we get animationController     
  },
);

Alternatives

Packages that do the same job and could replace animated_loading_border.

  • shimmer

    If you need a traditional shimmering skeleton loading effect across entire shapes or text blocks instead of just an animated border.