PressOn constructor

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

Press on a node that matches the arguments.

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

- pressOn: "Hello World"

Or using the verbose version:

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

Implementation

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