Target constructor
const
Target({
- Key? key,
- required Widget child,
- required TargetTapCallback onTap,
- double borderRadius = Metrics.borderRadius,
- bool clipped = true,
- 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);