LongPressOn constructor

const LongPressOn({
  1. String? text,
  2. List<double>? offset,
})

Long press on a node that matches the arguments.

This action can be invoked either using the short-hand version:

- longPressOn: "Hello World"

Or using the verbose version:

- longPressOn:
    text: "Hello World"
- longPressOn:
    offset: [0.5, 0.5]

Implementation

const LongPressOn({
  this.text,
  this.offset,
});