Hover constructor
const
Hover({
- Key? key,
- required Widget child,
- required void onHover(
- bool hovered
- Duration waitDuration = const Duration(milliseconds: 500),
- Duration minDuration = const Duration(milliseconds: 0),
- Duration showDuration = const Duration(milliseconds: 200),
- HitTestBehavior hitTestBehavior = HitTestBehavior.deferToChild,
Implementation
const Hover({
super.key,
required this.child,
required this.onHover,
this.waitDuration = const Duration(milliseconds: 500),
this.minDuration = const Duration(milliseconds: 0),
this.showDuration = const Duration(milliseconds: 200),
this.hitTestBehavior = HitTestBehavior.deferToChild,
});