Skip to content
pubscout

hovering

1.0.4, released 6 years ago by an unverified publisher

Widgets to enable hover effects on Flutter web.

WASM-ready
$ flutter pub add hovering
Source repository

What it does

Provides ready-to-use widgets like HoverWidget, HoverContainer, HoverCrossFadeWidget, HoverAnimatedContainer, and HoverButton to easily apply hover effects, animations, and transitions on Flutter web.

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

Use it when

  • You are building a Flutter web application and want to add custom hover effects to containers, buttons, or widgets.
  • You want simple widget transitions or animated containers triggered by mouse hover without manual MouseRegion boilerplate.

Skip it when

  • You are targeting exclusively mobile platforms where hover states do not naturally occur.
  • You need complex physics-based animations or Rive/Lottie vector graphics.

Strengths

  • Provides multiple specialized widgets for common hover scenarios (containers, cross-fade, buttons).
  • Easy to integrate with existing widget hierarchies.
  • Supports null safety.

Weaknesses

  • Limited to web and desktop platforms supporting mouse pointer events.
  • Only a handful of widget options available.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
HoverContainer(
  width: 100,
  height: 100,
  color: Colors.red,
  hoverColor: Colors.green,
  child: Text('Hover me'),
)

Alternatives

Packages that do the same job and could replace hovering.

  • flutter_tilt

    Easily apply tilt parallax hover effects for Flutter with support for light, shadow and gyroscope sensors.

  • motion

    Applies a gyroscope or hover-based motion effect to Flutter widgets.

  • lottie

    Render After Effects JSON animations natively in Flutter.

  • rive

    Rive runtime for Flutter to display and control interactive vector animations.

Works with

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