Tap constructor

const Tap({
  1. Key? key,
  2. required void onTap(),
  3. required Widget child,
  4. void onLongPress()?,
})

Implementation

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