MorphTapTarget constructor

const MorphTapTarget({
  1. Key? key,
  2. required String label,
  3. void onTap(
    1. BuildContext context
    )?,
  4. required Widget child,
})

Creates a tap target for content whose surface the skin draws.

Implementation

const MorphTapTarget({
  super.key,
  required this.label,
  this.onTap,
  required this.child,
});