build method
Describes the part of the UI represented by this widget.
Implementation
@override
Widget build(BuildContext context) {
if (!enabled) return child;
return GestureDetector(
child: child,
onEnter: onEnter,
onExit: onExit,
captureMouse: false,
);
}