Skip to content
pubscout

skeleton_text

3.0.1, released 3 years ago by mahengandhi.me

Provides an easy way to add skeleton text loading animations in Flutter projects.

WASM-ready
$ flutter pub add skeleton_text
Source repository

What it does

It provides a SkeletonAnimation widget that can wrap around any child widget to apply a customizable shimmer loading animation. Developers can configure parameters like shimmer color, duration, border radius, and animation curves.

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

Use it when

  • You need skeleton loading placeholders for text or images while data is fetching.
  • You want simple wrapper-based shimmer animations without complex setup.

Skip it when

  • You need a comprehensive layout placeholder system with pre-built shapes for lists, avatars, and cards.
  • You require advanced skeleton state controllers or complex shimmer layouts.

Strengths

  • Easy to use by wrapping any widget with SkeletonAnimation
  • Customizable shimmer duration, color, and border radius

Weaknesses

  • Requires manual wrapping of individual UI elements to build complex skeletons
  • Limited to basic shimmer animations compared to dedicated layout placeholder packages

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
SkeletonAnimation(
  shimmerColor: Colors.grey,
  borderRadius: BorderRadius.circular(20),
  child: Container(
    height: 30,
    width: 100,
    color: Colors.grey[300],
  ),
)

Alternatives

Packages that do the same job and could replace skeleton_text.

  • shimmer

    A popular alternative for adding shimmering effect loading animations to any widget in Flutter.