animate_on_hover 1.0.1 animate_on_hover: ^1.0.1 copied to clipboard
Add animation(s) to your widgets on web when hovered, using this package.
Animate on Hover #
Add animation(s) to your widgets on web when hovered, using this package.
Screenshot #
Getting started #
Add this to your package's pubspec.yaml
file
dependencies:
animate_on_hover: ^1.0.1
## Usage
Next, you just have to import the package using:
```dart
import 'package:animate_on_hover/animate_on_hover.dart';
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: Container(
height: 75,
width: 100,
decoration: BoxDecoration(
color: Colors.red,
borderRadius: BorderRadius.circular(5),
),
).increaseSizeOnHover(1.5),
),
);
}
Additional information #
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.