OpenClickable constructor

const OpenClickable({
  1. Key? key,
  2. required Widget child,
  3. required VoidCallback onClick,
  4. Color hoverColor = Colors.black12,
})

Implementation

const OpenClickable({
  Key? key,
  required this.child,
  required this.onClick,
  this.hoverColor = Colors.black12,
}) : super(key: key);