WidgetClickable constructor

const WidgetClickable({
  1. Key? key,
  2. required Widget child,
  3. dynamic onTap()?,
})

Implementation

const WidgetClickable({
  Key? key,
  required this.child,
  this.onTap,
}) : super(key: key);