Target constructor

const Target({
  1. Key? key,
  2. required Widget child,
  3. required TargetTapCallback onTap,
  4. double borderRadius = Metrics.borderRadius,
  5. bool clipped = true,
  6. TargetLongTapCallback? onLongTap,
})

Implementation

const Target({
  Key? key,
  required this.child,
  required this.onTap,
  this.borderRadius = Metrics.borderRadius,
  this.clipped = true,
  this.onLongTap,
}) : super(key: key);