Skip to content
pubscout

skeletonizer

3.0.0, released 2 months ago by codeness.ly

Converts already built widgets into skeleton loaders with a shimmer effect.

WASM-ready
$ flutter pub add skeletonizer
Source repository

What it does

Skeletonizer reduces your existing layouts into skeletons and applies painting effects like a shimmer. It automatically handles widget shapes or lets you manually construct skeletons using specialized Bone widgets.

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

Use it when

  • You want to display loading placeholders that automatically match your actual UI layouts.
  • You need custom shimmer bones for icons, text, and avatars with minimal boilerplate.

Skip it when

  • You are using complex custom painters that require explicit Skeleton.shade annotations and you cannot modify them.

Strengths

  • Reduces duplicate work by turning existing UI layouts into skeletons automatically.
  • Provides fine-grained control via annotations like Skeleton.ignore, Skeleton.keep, and Skeleton.replace.
  • Supports manual layout building with specialized Bone widgets.

Weaknesses

  • Requires fake data or mock models to render the layout structure correctly when enabled.
  • Network images and certain assets may throw errors if not replaced or conditionally disabled when skeletonization is active.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

No native setup or build_runner required. Simply wrap widgets with Skeletonizer.

Skeletonizer(
  enabled: _loading,
  child: ListView.builder(
    itemCount: 7,
    itemBuilder: (context, index) {
      return Card(
        child: ListTile(
          title: Text('Item number $index as title'),
          subtitle: const Text('Subtitle here'),
          trailing: const Icon(Icons.ac_unit),
        ),
      );
    },
  ),
)

Alternatives

Packages that do the same job and could replace skeletonizer.

  • shimmer

    If you want a classic, standalone shimmer effect rather than automatically skeletonizing existing widget trees.

Works with

Packages commonly used together with skeletonizer: ones it builds on, ones built on it, and its own family.