Skip to content
pubscout

redacted

1.0.13, released 2 years ago by an unverified publisher

Automatically generates a loading skeleton widget from your own widget tree.

WASM-ready
$ flutter pub add redacted
Source repository

What it does

Allows you to wrap any widget with an extension method to automatically display a redacted, animated loading placeholder. It supports common widgets like Text, Column, Row, Container, and Image, and offers customization for colors, animation duration, and border radius.

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

Use it when

  • You want to display loading skeletons that mirror your actual UI structure.
  • You need an easy way to toggle between loading states and real data on specific widgets.

Skip it when

  • You are using complex unsupported widgets that cannot be automatically measured and redacted.
  • You need a custom loading builder completely separate from your widget tree layout.

Strengths

  • Easy to apply via extension methods on existing widgets.
  • Supports hiding or keeping specific children unredacted within the tree.

Weaknesses

  • Limited to a specific set of supported widgets currently.
  • Does not support stateful widgets directly.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2

not documented

ShoeWidget()
    .redacted(context: context, redact: true)

Alternatives

Packages that do the same job and could replace redacted.

  • shimmer

    Pick shimmer if you prefer building custom skeleton layouts using shimmer effects rather than automatically converting your existing widgets.

Works with

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