TouchArea constructor

const TouchArea({
  1. required String description,
  2. required void onTouch(
    1. TouchAreaEvent event
    ),
  3. Widget? child,
  4. Key? key,
})

Create an instance.

Implementation

const TouchArea({
  required this.description,
  required this.onTouch,
  this.child,
  super.key,
});