PressOn constructor
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,
});