Event class Null safety

Figma2Flutter Event It contains at least eventName, the name of the event from Flutter, componentName, the name of the Figma instance. and sometimes target element reference and payload string

Constructors

Event(String eventName, dynamic callback(Event), String componentName, int componentIndex)

Properties

callback → dynamic Function(Event)
final
componentIndex int
final
componentName String
final
eventName String
final
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
read / write
payload String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
target Elem
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited