Skip to content
pubscout

flutter_shake_animated

0.0.5, released 5 years ago by suntengfei.top

Provides a ShakeWidget to apply shake animations to any Flutter widget.

WASM-ready
$ flutter pub add flutter_shake_animated
Source repository

What it does

The package supplies a ShakeWidget that animates its child with various shake patterns. It includes several built‑in shake constants and allows custom shake definitions.

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

Use it when

  • you need a quick attention‑grabbing shake effect
  • showing validation errors or emphasizing UI elements

Skip it when

  • you require complex or non‑shake animations
  • performance‑critical scenarios needing fine‑tuned animation control

Strengths

  • very easy to drop into existing code
  • multiple preset shake constants
  • customizable via ShakeConstant interface

Weaknesses

  • limited to shake animations only
  • no code generation or advanced animation features
  • documentation is minimal

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
import 'package:flutter_shake_animated/flutter_shake_animated.dart';

ShakeWidget(
  duration: Duration(seconds: 1),
  shakeConstant: ShakeDefaultConstant1,
  autoPlay: true,
  child: YourWidget(),
);

Alternatives

Packages that do the same job and could replace flutter_shake_animated.

  • shimmer

    Provides a simple visual attention effect without custom animation code