TapArea constructor

const TapArea({
  1. Key? key,
  2. required Widget child,
  3. required VoidCallback onTap,
  4. Color? backgroundColor,
  5. EdgeInsets? padding,
  6. BorderRadius? borderRadius,
  7. VoidCallback? onLongPress,
})

Implementation

const TapArea({
  super.key,
  required this.child,
  required this.onTap,
  this.backgroundColor,
  this.padding,
  this.borderRadius,
  this.onLongPress,
});