Search packages, repositories and app categories

Package detailsv0.6.0

hover_effect

Takes any child witget and enables Hover/Tilt 3D functionality to it.

30-day downloads
25
Likes
92
Pub points
40

Install package

flutter pub add hover_effect

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The hover_effect package enhances any widget with interactive hover and tilt 3D effects, creating dynamic visual feedback when users move their cursor over a component. It's designed for smooth animations and intuitive user engagement, ideal for buttons, cards, or images that benefit from subtle motion. The package is lightweight and easy to integrate, requiring only a wrapper around the desired widget. It supports responsive behavior across devices and can be customized for sensitivity and animation style.

Use cases

  • Interactive UI elements
  • Animated buttons and cards
  • Visual feedback on hover
  • Enhanced image galleries
  • Gamified interfaces

Key features

  • Hover and tilt 3D effects
  • Simple widget wrapping
  • Customizable sensitivity
  • Responsive design support
  • Smooth animation performance

Suitable for

  • UI designers seeking interactivity
  • Developers building engaging dashboards
  • Projects with focus on visual polish
  • Web and mobile apps with touch/cursor interaction

Considerations

  • May impact performance on low-end devices
  • Limited customization beyond tilt and hover
  • Not optimized for touch-only environments
  • Requires pointer input (mouse/touchpad)

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

hover_effect

Hover - Tilt 3D Effect

Takes any child widget and enables Hover/Tilt 3D functionality to it

Demo

Getting Started

import 'package:flutter/material.dart';
import 'package:hover_effect/hover_effect.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Hover - Tilt 3D Effect',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: Material(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Text(
              'Hover - Tilt 3D Effect',
              style: TextStyle(
                  fontSize: 30,
                  fontWeight: FontWeight.w700,
                  color: Colors.black,
                  letterSpacing: 2),
            ),
            SizedBox(height: 50),
            Container(
              width: 150,
              height: 300,
              child: HoverCard(
                builder: (context, hovering) {
                  return Container(
                    color: Color(0xFFE9E9E9),
                    child: Center(
                      child: FlutterLogo(size: 100),
                    ),
                  );
                },
                depth: 10,
                depthColor: Colors.grey[500],
                onTap: () => print('Hello, World!'),
                shadow: BoxShadow(color: Colors.purple[200], blurRadius: 30, spreadRadius: -20, offset: Offset(0, 40)),
              ),
            ),
          ],
        ),
      ),
    );
  }
}

Categories

Source repository

Projects using this package

No data available yet.