Touch constructor

const Touch({
  1. Key? key,
  2. required Widget child,
  3. void onTap()?,
  4. void onDoubleTap()?,
  5. EdgeInsetsGeometry? margin,
})

Implementation

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