smooth_hover
0.0.2, released 2 years ago by sangdoan.com
Provides physics-based hover effects and tooltips for Flutter widgets.
What it does
Smooth_hover provides widgets and scopes to add physics-based hover animations, custom ink effects, and tooltips to user interfaces. It manages focus, press states, and mouse cursor behavior for desktop and web applications.
AI-written summary of version 0.0.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want smooth, physics-based hover effects on desktop or web apps
- You need customizable ink decorations and integrated tooltips on hoverable widgets
Skip it when
- You are building a mobile-first app without desktop or web interactions
- You only need standard Material tooltips without custom hover motion
Strengths
- Smooth physics-based hover animations
- Configurable ink effects and smart tooltips
- Built-in focus and press state handling
Weaknesses
- Very early version (0.0.2)
- Limited to hover states which are primarily relevant for desktop and web
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
SmoothHoverScope(
child: SmoothHover(
inkDecoration: BoxDecoration(
color: Colors.grey.withOpacity(0.1),
borderRadius: BorderRadius.circular(16.0),
),
tooltipText: 'Hello World',
child: YourWidget(),
),
)Alternatives
Packages that do the same job and could replace smooth_hover.
- heroine
Spring-based physics hero transitions and gesture-driven animations in Flutter.
91Compare - lottie
Render After Effects JSON animations natively in Flutter.
96Compare - flutter_tilt
Easily apply tilt parallax hover effects for Flutter with support for light, shadow and gyroscope sensors.
86Compare - springster
Spring animations and physics simulations simplified for Flutter.
76Compare
Works with
Packages commonly used together with smooth_hover: ones it builds on, ones built on it, and its own family.