Skip to content
Türkçe
All snippets

WindAnimationWrapper example

A looping spin, ping, pulse or bounce around any widget.

  • WDiv
  • WindAnimationWrapper
  • WIcon
  • WText
preview
example_wind_animation_wrapper.dart
WDiv(
  className: "w-full p-4",
  child: WindAnimationWrapper(
    animationType: WindAnimationType.pulse,
    child: WDiv(
      className: "w-full flex flex-row items-center gap-4 p-4 bg-[#22272e] border border-[#444c56] rounded-xl",
      children: [
        WIcon(Icons.auto_fix_high, className: "text-[#539bf5] text-3xl"),
        WText("A little motion. A lot of life.", className: "text-lg text-[#cdd9e5]"),
      ],
    ),
  ),
)