animate_on_hover 1.0.0
animate_on_hover: ^1.0.0 copied to clipboard
Animate widgets on web when hovered using this package.
Animate on Hover #
Animate 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.0
Usage #
Next, you just have to import the package using:
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.