Tapped constructor Null safety

const Tapped(
  1. {Key? key,
  2. Function? onTap,
  3. Function? onLongTap,
  4. Widget? child}
)

Implementation

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